Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001839/0.001839, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00198/0.00198, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.691e-06, allocations: 4 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.673e-05, allocations: 2.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1495/0.1495, allocations: 18.75 MB / 291.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1614, allocations: 5.9 MB / 297 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003572/0.165, allocations: 193.2 kB / 297.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.1763, allocations: 6.279 MB / 303.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009493/0.1858, allocations: 3.526 MB / 307 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.1895, allocations: 1.812 MB / 308.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01567/0.2052, allocations: 14.8 MB / 323.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.2178, allocations: 7.729 MB / 331.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/0.2305, allocations: 5.563 MB / 336.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.2419, allocations: 5.761 MB / 342.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002567/0.2445, allocations: 0.7461 MB / 343.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005185/0.2497, allocations: 1.658 MB / 345.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006949/0.2566, allocations: 4.594 MB / 349.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007338/0.264, allocations: 2.793 MB / 352.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02233/0.2863, allocations: 14.05 MB / 366.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2863, allocations: 0 / 366.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.2863, allocations: 0 / 366.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004591/0.2868, allocations: 0 / 366.5 MB, free: 3.422 MB / 314.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.03213/0.3189, allocations: 11.44 MB / 377.9 MB, free: 7.895 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3189, allocations: 8.031 kB / 377.9 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05177/0.3707, allocations: 6.187 MB / 384.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/0.3922, allocations: 7.145 MB / 391.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004539/0.3926, allocations: 427.4 kB / 391.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.3944, allocations: 0.582 MB / 392.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/0.4244, allocations: 10.99 MB / 403.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003343/0.4248, allocations: 91.34 kB / 403.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009476/0.4257, allocations: 271.8 kB / 403.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005572/0.4313, allocations: 2.76 MB / 406.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02196/0.4532, allocations: 5.745 MB / 412.1 MB, free: 4.105 MB / 362.7 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.299/0.7522, allocations: 77.01 MB / 489.1 MB, free: 53.46 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01585/0.7681, allocations: 4.617 MB / 493.8 MB, free: 52.74 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.7706, allocations: 1.425 MB / 495.2 MB, free: 52.46 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/0.7862, allocations: 7.496 MB / 0.4909 GB, free: 48.49 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.7863, allocations: 72.77 kB / 0.491 GB, free: 48.43 MB / 378.8 MB Notification: Performance of pre-optimization done (n=280): time 5.801e-06/0.7863, allocations: 0 / 0.491 GB, free: 48.43 MB / 378.8 MB Notification: Performance of matching and sorting (n=339): time 0.1528/0.9391, allocations: 39.4 MB / 0.5294 GB, free: 15.41 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.9392, allocations: 402 kB / 0.5298 GB, free: 14.93 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00907/0.9483, allocations: 7.579 MB / 0.5372 GB, free: 7.539 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007476/0.949, allocations: 81.64 kB / 0.5373 GB, free: 7.453 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/0.9518, allocations: 5.813 MB / 0.543 GB, free: 1.996 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/0.9533, allocations: 1.436 MB / 0.5444 GB, free: 0.5781 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003688/0.957, allocations: 2.349 MB / 0.5467 GB, free: 14.21 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0002615/0.9572, allocations: 476.8 kB / 0.5471 GB, free: 13.74 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/0.9613, allocations: 1.611 MB / 0.5487 GB, free: 12.12 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/0.973, allocations: 9.08 MB / 0.5576 GB, free: 15.85 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/0.9916, allocations: 12.1 MB / 0.5694 GB, free: 0.625 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/0.9918, allocations: 44 kB / 0.5694 GB, free: 0.582 MB / 410.8 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.1605/1.152, allocations: 12.51 MB / 0.5817 GB, free: 118.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/1.152, allocations: 75.72 kB / 0.5817 GB, free: 118.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/1.153, allocations: 165.3 kB / 0.5819 GB, free: 118.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02216/1.175, allocations: 5.212 MB / 0.587 GB, free: 118.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005971/1.181, allocations: 1.925 MB / 0.5889 GB, free: 118.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02802/1.209, allocations: 15.11 MB / 0.6036 GB, free: 112.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007901/1.217, allocations: 0.6879 MB / 0.6043 GB, free: 111.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.218, allocations: 495.8 kB / 0.6048 GB, free: 111.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002807/1.22, allocations: 0.9938 MB / 0.6057 GB, free: 111.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.222, allocations: 0.719 MB / 0.6064 GB, free: 111.4 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/1.244, allocations: 7.417 MB / 0.6137 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-05/1.244, allocations: 32 kB / 0.6137 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/1.244, allocations: 20 kB / 0.6137 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.147e-05/1.244, allocations: 15.95 kB / 0.6137 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04314/1.287, allocations: 18.82 MB / 0.6321 GB, free: 85.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/1.287, allocations: 4 kB / 0.6321 GB, free: 85.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.289, allocations: 420.1 kB / 0.6325 GB, free: 85.36 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02055/1.31, allocations: 4.865 MB / 0.6373 GB, free: 80.49 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005275/1.31, allocations: 56 kB / 0.6373 GB, free: 80.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/1.336, allocations: 14.29 MB / 0.6513 GB, free: 65.91 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.336, allocations: 11.94 kB / 0.6513 GB, free: 65.9 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02454/1.361, allocations: 9.287 MB / 0.6604 GB, free: 56.38 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/1.363, allocations: 0.6637 MB / 0.661 GB, free: 55.72 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.364, allocations: 64 kB / 0.6611 GB, free: 55.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003931/1.368, allocations: 399.3 kB / 0.6615 GB, free: 55.27 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009077/1.369, allocations: 262.4 kB / 0.6617 GB, free: 55.01 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/1.369, allocations: 95.81 kB / 0.6618 GB, free: 54.92 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.004743/1.374, allocations: 3.368 MB / 0.6651 GB, free: 51.57 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/1.374, allocations: 0 / 0.6651 GB, free: 51.57 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008492/1.382, allocations: 2.41 MB / 0.6674 GB, free: 49.16 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007258/1.383, allocations: 228.7 kB / 0.6677 GB, free: 48.95 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01282/1.396, allocations: 7.185 MB / 0.6747 GB, free: 41.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.396, allocations: 0 / 0.6747 GB, free: 41.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006003/1.402, allocations: 3.098 MB / 0.6777 GB, free: 38.53 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005375/1.407, allocations: 0.957 MB / 0.6786 GB, free: 37.61 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02552/1.433, allocations: 15.71 MB / 0.694 GB, free: 21.69 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005797/1.439, allocations: 4.639 MB / 0.6985 GB, free: 17.01 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004833/1.444, allocations: 2.148 MB / 0.7006 GB, free: 14.86 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.445, allocations: 390.4 kB / 0.701 GB, free: 14.48 MB / 410.8 MB Notification: Performance of SimCode: time 2.084e-06/1.445, allocations: 0 / 0.701 GB, free: 14.48 MB / 410.8 MB Notification: Performance of Templates: time 0.2568/1.702, allocations: 95.41 MB / 0.7941 GB, free: 75.37 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 8.864826500997879]