Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001527/0.001527, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001577/0.001577, allocations: 161.7 kB / 24.27 MB, free: 172 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.491/1.491, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.706e-05, allocations: 2.312 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02468/0.02471, allocations: 17.66 MB / 290 MB, free: 60 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1498, allocations: 5.991 MB / 296 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003386/0.1532, allocations: 204.2 kB / 296.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.1644, allocations: 6.596 MB / 302.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.1732, allocations: 3.613 MB / 306.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.177, allocations: 1.92 MB / 308.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01505/0.192, allocations: 15.1 MB / 323.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.2058, allocations: 8.062 MB / 331.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/0.2193, allocations: 5.773 MB / 337.3 MB, free: 16 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/0.2301, allocations: 5.862 MB / 343.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003031/0.2331, allocations: 0.793 MB / 343.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005309/0.2385, allocations: 1.701 MB / 345.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00792/0.2464, allocations: 4.765 MB / 350.4 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008385/0.2548, allocations: 2.933 MB / 353.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.2765, allocations: 14.66 MB / 368 MB, free: 1.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2766, allocations: 0 / 368 MB, free: 1.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2766, allocations: 0 / 368 MB, free: 1.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004113/0.277, allocations: 0 / 368 MB, free: 1.215 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02875/0.3057, allocations: 10.56 MB / 378.6 MB, free: 6.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.3058, allocations: 16.03 kB / 378.6 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04624/0.352, allocations: 6.308 MB / 384.9 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/0.3729, allocations: 7.949 MB / 392.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005478/0.3735, allocations: 448 kB / 393.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/0.3759, allocations: 0.6133 MB / 393.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03883/0.4148, allocations: 17.76 MB / 411.6 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003171/0.4151, allocations: 99.31 kB / 411.7 MB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008967/0.416, allocations: 279.8 kB / 412 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005415/0.4214, allocations: 2.896 MB / 414.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/0.453, allocations: 14.3 MB / 429.2 MB, free: 2.688 MB / 378.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.3392/0.7922, allocations: 65.37 MB / 494.6 MB, free: 65.88 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01878/0.8109, allocations: 7.481 MB / 0.4903 GB, free: 58.39 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004845/0.8158, allocations: 4.503 MB / 0.4947 GB, free: 53.88 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/0.8334, allocations: 11.88 MB / 0.5063 GB, free: 42.16 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.8335, allocations: 72.09 kB / 0.5064 GB, free: 42.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=297): time 5.691e-06/0.8335, allocations: 0 / 0.5064 GB, free: 42.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=364): time 0.3991/1.233, allocations: 85.02 MB / 0.5894 GB, free: 139 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.233, allocations: 397.6 kB / 0.5898 GB, free: 138.6 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008416/1.241, allocations: 7.388 MB / 0.597 GB, free: 136.4 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008704/1.242, allocations: 84.77 kB / 0.5971 GB, free: 136.3 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002282/1.244, allocations: 5.335 MB / 0.6023 GB, free: 133.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.246, allocations: 1.388 MB / 0.6036 GB, free: 132.2 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/1.248, allocations: 1.893 MB / 0.6055 GB, free: 131.2 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.976e-05/1.248, allocations: 301.1 kB / 0.6058 GB, free: 130.9 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006171/1.254, allocations: 5.603 MB / 0.6112 GB, free: 128 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007582/1.262, allocations: 10.56 MB / 0.6215 GB, free: 118.4 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/1.277, allocations: 16.68 MB / 0.6378 GB, free: 99.65 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-05/1.277, allocations: 48 kB / 0.6379 GB, free: 99.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.04435/1.321, allocations: 25.37 MB / 0.6626 GB, free: 74.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/1.322, allocations: 75.94 kB / 0.6627 GB, free: 74.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002041/1.322, allocations: 160 kB / 0.6629 GB, free: 73.96 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03301/1.355, allocations: 11.85 MB / 0.6744 GB, free: 62.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006398/1.361, allocations: 2.047 MB / 0.6764 GB, free: 60.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05414/1.415, allocations: 44.59 MB / 0.72 GB, free: 15.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009811/1.425, allocations: 0.8542 MB / 0.7208 GB, free: 14.31 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00209/1.427, allocations: 0.4961 MB / 0.7213 GB, free: 13.81 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1063): * Single equations (assignments): 1057 * 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,101,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.154/1.581, allocations: 3.572 MB / 0.7248 GB, free: 126.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002883/1.584, allocations: 0.7387 MB / 0.7255 GB, free: 126.9 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04107/1.625, allocations: 18.67 MB / 0.7438 GB, free: 123.2 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.802e-05/1.625, allocations: 42.75 kB / 0.7438 GB, free: 123.2 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-05/1.625, allocations: 23.06 kB / 0.7438 GB, free: 123.2 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.79e-05/1.625, allocations: 17.95 kB / 0.7438 GB, free: 123.2 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06515/1.69, allocations: 32.23 MB / 0.7753 GB, free: 97.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.873e-05/1.691, allocations: 4 kB / 0.7753 GB, free: 97.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.693, allocations: 0.5288 MB / 0.7758 GB, free: 97.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03264/1.726, allocations: 11.48 MB / 0.787 GB, free: 86 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/1.727, allocations: 64 kB / 0.7871 GB, free: 85.94 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05241/1.779, allocations: 43.49 MB / 0.8296 GB, free: 42.45 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.779, allocations: 15.88 kB / 0.8296 GB, free: 42.43 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04457/1.824, allocations: 25.92 MB / 0.8549 GB, free: 16.69 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.826, allocations: 0.6946 MB / 0.8556 GB, free: 16.09 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002446/1.829, allocations: 70.59 kB / 0.8556 GB, free: 16.03 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005742/1.834, allocations: 0.5576 MB / 0.8562 GB, free: 15.47 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001533/1.836, allocations: 270.6 kB / 0.8564 GB, free: 15.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000553/1.836, allocations: 96.55 kB / 0.8565 GB, free: 15.11 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006572/1.843, allocations: 4.582 MB / 0.861 GB, free: 10.54 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.01e-07/1.843, allocations: 0 / 0.861 GB, free: 10.54 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008961/1.852, allocations: 2.651 MB / 0.8636 GB, free: 7.898 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * 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,95,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.0007362/1.853, allocations: 237.9 kB / 0.8638 GB, free: 7.672 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.1405/1.993, allocations: 13.38 MB / 0.8769 GB, free: 122.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.993, allocations: 1.062 kB / 0.8769 GB, free: 122.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009433/2.003, allocations: 5.927 MB / 0.8827 GB, free: 120.9 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006178/2.009, allocations: 0.9865 MB / 0.8837 GB, free: 120.5 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02826/2.037, allocations: 21 MB / 0.9042 GB, free: 111.6 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005718/2.043, allocations: 5.277 MB / 0.9093 GB, free: 108.3 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005448/2.048, allocations: 2.654 MB / 0.9119 GB, free: 106.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/2.05, allocations: 399.5 kB / 0.9123 GB, free: 106.3 MB / 410.8 MB Notification: Performance of SimCode: time 1.012e-06/2.05, allocations: 4 kB / 0.9123 GB, free: 106.3 MB / 410.8 MB Notification: Performance of Templates: time 0.2696/2.319, allocations: 116 MB / 1.026 GB, free: 113.8 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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: 9.755073840962723]