Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 210.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.86 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2644, allocations: 53.36 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00306/0.2674, allocations: 1.848 MB / 433.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.2682, allocations: 466.8 kB / 433.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.2683, allocations: 7.938 kB / 433.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.506e-05/0.2684, allocations: 15.86 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.2685, allocations: 19.8 kB / 433.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.2686, allocations: 27.97 kB / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.2688, allocations: 107.5 kB / 434 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2689, allocations: 41.22 kB / 434.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.269, allocations: 39.84 kB / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.269, allocations: 43.72 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.2691, allocations: 8 kB / 434.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.2691, allocations: 8 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.2691, allocations: 23.92 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.2692, allocations: 31.86 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2693, allocations: 102.1 kB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2693, allocations: 0 / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2693, allocations: 0 / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.2693, allocations: 0 / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004891/0.2698, allocations: 338.1 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.2698, allocations: 8.031 kB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.2699, allocations: 8.891 kB / 434.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2701, allocations: 142.3 kB / 434.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.2701, allocations: 8.562 kB / 434.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.2701, allocations: 12.33 kB / 434.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.2704, allocations: 121 kB / 434.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2704, allocations: 3.984 kB / 435 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2704, allocations: 8 kB / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2704, allocations: 0 / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.2706, allocations: 71.89 kB / 435 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.2712, allocations: 423.6 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.2714, allocations: 82.48 kB / 435.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2715, allocations: 44.83 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.2715, allocations: 0 / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2715, allocations: 30.56 kB / 435.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.2715, allocations: 0 / 435.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003704/0.2719, allocations: 121.6 kB / 435.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2719, allocations: 55.55 kB / 435.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.272, allocations: 133.7 kB / 435.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2721, allocations: 25.7 kB / 435.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.2721, allocations: 119.9 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.2721, allocations: 27.78 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.2722, allocations: 33.61 kB / 436.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2723, allocations: 322.8 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2724, allocations: 31.97 kB / 436.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2726, allocations: 64.27 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.2728, allocations: 108.1 kB / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2728, allocations: 3.938 kB / 436.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002856/0.2731, allocations: 133.5 kB / 436.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2731, allocations: 4 kB / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2731, allocations: 4.062 kB / 436.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2731, allocations: 11.98 kB / 436.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2733, allocations: 31.92 kB / 436.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2733, allocations: 0 / 436.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.2733, allocations: 19.98 kB / 436.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2733, allocations: 4 kB / 436.8 MB, free: 1.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/0.2734, allocations: 117.8 kB / 436.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.2735, allocations: 7.953 kB / 437 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.2735, allocations: 16.38 kB / 437 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2735, allocations: 0 / 437 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2735, allocations: 4 kB / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2735, allocations: 3.938 kB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.2737, allocations: 141.1 kB / 437.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2737, allocations: 0 / 437.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.2738, allocations: 19.98 kB / 437.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2738, allocations: 7.984 kB / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.2738, allocations: 0 / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2738, allocations: 0 / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2738, allocations: 0 / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.2742, allocations: 235.4 kB / 437.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.2742, allocations: 12.03 kB / 437.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2742, allocations: 4 kB / 437.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.2743, allocations: 8.031 kB / 437.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.2743, allocations: 8.031 kB / 437.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2744, allocations: 7.922 kB / 437.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.244e-05/0.2744, allocations: 101.8 kB / 437.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2744, allocations: 0 / 437.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.2746, allocations: 20 kB / 437.5 MB, free: 500 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.51e-05/0.2747, allocations: 99.25 kB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.275, allocations: 75.89 kB / 437.7 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.275, allocations: 0 / 437.7 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2751, allocations: 39.91 kB / 437.7 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2754, allocations: 30.62 kB / 437.8 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.276, allocations: 360.8 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.7e-05/0.2761, allocations: 88.98 kB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.743e-05/0.2761, allocations: 12.38 kB / 438.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.2761, allocations: 15.38 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2761, allocations: 0 / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003423/0.2796, allocations: 1.13 MB / 439.4 MB, free: 14.62 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.524535471573472]