Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001642/0.001642, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.001458/0.001458, allocations: 170.2 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8625/0.8625, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.275e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01895/0.01897, allocations: 18.32 MB / 269.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.03331, allocations: 6.143 MB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.03646, allocations: 194.9 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00622/0.04268, allocations: 6.292 MB / 282.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.04906, allocations: 3.655 MB / 286.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.0515, allocations: 1.844 MB / 288 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.06277, allocations: 13.22 MB / 301.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008198/0.07097, allocations: 7.91 MB / 309.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.08151, allocations: 7.315 MB / 316.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006955/0.08847, allocations: 5.499 MB / 321.9 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.09022, allocations: 0.754 MB / 322.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.09281, allocations: 1.67 MB / 324.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004551/0.09737, allocations: 4.653 MB / 329 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004186/0.1016, allocations: 2.844 MB / 331.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009202/0.1108, allocations: 9.048 MB / 340.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1108, allocations: 0 / 340.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1108, allocations: 0 / 340.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003537/0.1111, allocations: 0 / 340.9 MB, free: 13.55 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01157/0.1227, allocations: 9.051 MB / 349.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1227, allocations: 11.98 kB / 349.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006599/0.1293, allocations: 2.225 MB / 352.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1841/0.3134, allocations: 5.121 MB / 357.3 MB, free: 95.37 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.3136, allocations: 425.7 kB / 357.7 MB, free: 95.36 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006731/0.3143, allocations: 0.59 MB / 358.3 MB, free: 95.36 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007963/0.3222, allocations: 8.368 MB / 366.7 MB, free: 91.86 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.3224, allocations: 95.12 kB / 366.8 MB, free: 91.84 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.3228, allocations: 271.8 kB / 367 MB, free: 91.63 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/0.3244, allocations: 2.514 MB / 369.5 MB, free: 89.36 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00627/0.3307, allocations: 4.058 MB / 373.6 MB, free: 85.39 MB / 330.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.3655, allocations: 50.83 MB / 424.4 MB, free: 34.23 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006063/0.3716, allocations: 3.084 MB / 427.5 MB, free: 31.16 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/0.3724, allocations: 0.7254 MB / 428.2 MB, free: 30.43 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008165/0.3805, allocations: 6.679 MB / 434.9 MB, free: 23.87 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3806, allocations: 64.5 kB / 435 MB, free: 23.8 MB / 330.8 MB Notification: Performance of pre-optimization done (n=248): time 5.08e-06/0.3806, allocations: 0 / 435 MB, free: 23.8 MB / 330.8 MB Notification: Performance of matching and sorting (n=298): time 0.03509/0.4157, allocations: 15 MB / 450 MB, free: 9.293 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.4157, allocations: 405.7 kB / 450.4 MB, free: 8.812 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.4193, allocations: 5.624 MB / 456 MB, free: 3.211 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.4194, allocations: 73.7 kB / 456.1 MB, free: 3.133 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.4211, allocations: 4.641 MB / 460.7 MB, free: 14.47 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007131/0.4218, allocations: 1.17 MB / 461.9 MB, free: 13.29 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/0.4232, allocations: 1.72 MB / 463.6 MB, free: 11.55 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.4233, allocations: 309.1 kB / 463.9 MB, free: 11.25 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.425, allocations: 1.139 MB / 465 MB, free: 10.1 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/0.429, allocations: 6.222 MB / 471.3 MB, free: 1.352 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/0.4353, allocations: 7.966 MB / 479.2 MB, free: 6.887 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.74e-05/0.4354, allocations: 48 kB / 479.3 MB, free: 6.84 MB / 362.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.008686/0.4441, allocations: 6.544 MB / 485.8 MB, free: 204 kB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.4442, allocations: 80 kB / 485.9 MB, free: 124 kB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003975/0.4446, allocations: 172 kB / 486.1 MB, free: 15.95 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/0.4474, allocations: 1.25 MB / 487.3 MB, free: 14.68 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/0.4509, allocations: 1.973 MB / 489.3 MB, free: 12.71 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006076/0.457, allocations: 5.445 MB / 494.7 MB, free: 7.062 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/0.4618, allocations: 379.7 kB / 495.1 MB, free: 6.691 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006574/0.4625, allocations: 440 kB / 495.5 MB, free: 6.262 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002198/0.4647, allocations: 0.8438 MB / 496.4 MB, free: 5.406 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008989/0.4656, allocations: 419.4 kB / 496.8 MB, free: 4.996 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/0.4689, allocations: 2.185 MB / 499 MB, free: 2.773 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.4689, allocations: 32 kB / 499 MB, free: 2.742 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.4689, allocations: 11.98 kB / 499 MB, free: 2.73 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.4689, allocations: 11.95 kB / 499 MB, free: 2.719 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1299/0.5988, allocations: 9.123 MB / 0.4962 GB, free: 117.5 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.5988, allocations: 24.22 kB / 0.4963 GB, free: 117.5 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/0.5998, allocations: 435 kB / 0.4967 GB, free: 117.5 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.6024, allocations: 1.295 MB / 0.4979 GB, free: 117.4 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.6026, allocations: 74.73 kB / 0.498 GB, free: 117.4 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/0.6068, allocations: 4.527 MB / 0.5024 GB, free: 115.1 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.6068, allocations: 39.75 kB / 0.5025 GB, free: 115.1 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.6115, allocations: 3.901 MB / 0.5063 GB, free: 113.1 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/0.6136, allocations: 0.8828 MB / 0.5072 GB, free: 113.1 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008917/0.6144, allocations: 75.72 kB / 0.5072 GB, free: 113.1 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.6163, allocations: 80.47 kB / 0.5073 GB, free: 113.1 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/0.6167, allocations: 266.8 kB / 0.5076 GB, free: 113.1 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/0.6168, allocations: 86.31 kB / 0.5076 GB, free: 113.1 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002777/0.6196, allocations: 2.311 MB / 0.5099 GB, free: 112.9 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6196, allocations: 0 / 0.5099 GB, free: 112.9 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.006959/0.6266, allocations: 2.066 MB / 0.5119 GB, free: 112.9 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * Number of states: 2 (Inertia.phi,Inertia.w) * 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 (245): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,37,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005296/0.6271, allocations: 244.6 kB / 0.5121 GB, free: 112.9 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005636/0.6328, allocations: 4.17 MB / 0.5162 GB, free: 111.3 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002569/0.633, allocations: 132.2 kB / 0.5163 GB, free: 111.1 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.6351, allocations: 1.379 MB / 0.5177 GB, free: 110.1 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/0.6407, allocations: 1.306 MB / 0.519 GB, free: 109.4 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.6615, allocations: 14.13 MB / 0.5328 GB, free: 96.24 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.6639, allocations: 2.298 MB / 0.535 GB, free: 94.36 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002787/0.6667, allocations: 0.8308 MB / 0.5358 GB, free: 93.55 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/0.6686, allocations: 1.005 MB / 0.5368 GB, free: 92.54 MB / 378.8 MB Notification: Performance of SimCode: time 1.523e-06/0.6686, allocations: 0 / 0.5368 GB, free: 92.54 MB / 378.8 MB Notification: Performance of Templates: time 0.08263/0.7513, allocations: 71 MB / 0.6061 GB, free: 21.48 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","",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.64512427104637]