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.001816/0.001816, allocations: 82.7 kB / 20.68 MB, free: 1.039 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.002288/0.002288, allocations: 165.5 kB / 23.95 MB, free: 4.172 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.504/1.504, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.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.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 1.373e-06/1.373e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.089e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02031/0.02033, allocations: 16.76 MB / 341.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.03585, allocations: 5.794 MB / 347.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.03979, allocations: 194.9 kB / 347.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.05187, allocations: 5.981 MB / 353.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008787/0.06065, allocations: 3.517 MB / 357.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.06407, allocations: 1.79 MB / 359.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01988/0.08394, allocations: 14.8 MB / 373.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.09504, allocations: 7.451 MB / 381.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/0.1068, allocations: 5.547 MB / 386.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009175/0.1159, allocations: 5.624 MB / 392.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.1178, allocations: 0.7422 MB / 393.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.1214, allocations: 1.666 MB / 395 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004948/0.1263, allocations: 4.551 MB / 399.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004628/0.1309, allocations: 2.789 MB / 402.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.149, allocations: 14 MB / 416.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.149, allocations: 0 / 416.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.149, allocations: 0 / 416.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004147/0.1494, allocations: 4 kB / 416.3 MB, free: 9.617 MB / 382.1 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.03014/0.1795, allocations: 10.09 MB / 426.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1796, allocations: 15.97 kB / 426.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0512/0.2308, allocations: 5.519 MB / 431.9 MB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02124/0.252, allocations: 7.74 MB / 439.7 MB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/0.2525, allocations: 423.4 kB / 440.1 MB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.2546, allocations: 0.5859 MB / 440.7 MB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03415/0.2887, allocations: 16.83 MB / 457.5 MB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003004/0.289, allocations: 99.3 kB / 457.6 MB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008801/0.2899, allocations: 267.8 kB / 457.9 MB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005018/0.2949, allocations: 2.764 MB / 460.6 MB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.321/0.616, allocations: 13.61 MB / 474.2 MB, free: 115.3 MB / 430.1 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.06897/0.6849, allocations: 62.77 MB / 0.5244 GB, free: 69.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/0.7032, allocations: 7.475 MB / 0.5317 GB, free: 61.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00425/0.7075, allocations: 4.248 MB / 0.5359 GB, free: 57.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01574/0.7232, allocations: 11.16 MB / 0.5468 GB, free: 46.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.7233, allocations: 64.5 kB / 0.5468 GB, free: 46.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 6.723e-06/0.7233, allocations: 3.719 kB / 0.5468 GB, free: 46.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.1982/0.9215, allocations: 52.45 MB / 0.598 GB, free: 10.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.9217, allocations: 398.1 kB / 0.5984 GB, free: 10.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/0.9329, allocations: 7.284 MB / 0.6055 GB, free: 3.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009253/0.9338, allocations: 77.7 kB / 0.6056 GB, free: 2.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004542/0.9384, allocations: 5.187 MB / 0.6107 GB, free: 13.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002035/0.9404, allocations: 1.305 MB / 0.6119 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00296/0.9434, allocations: 1.848 MB / 0.6137 GB, free: 10.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9435, allocations: 301.1 kB / 0.614 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007389/0.9509, allocations: 4.547 MB / 0.6185 GB, free: 5.922 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/0.9631, allocations: 9.489 MB / 0.6277 GB, free: 10.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1831/1.146, allocations: 14.54 MB / 0.6419 GB, free: 146.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/1.146, allocations: 46.59 kB / 0.642 GB, free: 146.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03912/1.186, allocations: 19.65 MB / 0.6612 GB, free: 140.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.186, allocations: 76.88 kB / 0.6612 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/1.186, allocations: 165.6 kB / 0.6614 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02031/1.206, allocations: 7.046 MB / 0.6683 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/1.212, allocations: 1.927 MB / 0.6702 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03872/1.251, allocations: 34.59 MB / 0.704 GB, free: 105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008092/1.259, allocations: 0.6956 MB / 0.7046 GB, free: 104.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/1.26, allocations: 0.4922 MB / 0.7051 GB, free: 103.8 MB / 478.1 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.004432/1.264, allocations: 3.46 MB / 0.7085 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.265, allocations: 0.6155 MB / 0.7091 GB, free: 100.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02448/1.29, allocations: 13.19 MB / 0.722 GB, free: 86.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.444e-05/1.29, allocations: 43.84 kB / 0.722 GB, free: 86.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/1.29, allocations: 23.5 kB / 0.722 GB, free: 86.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.974e-05/1.29, allocations: 15.94 kB / 0.7221 GB, free: 86.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.041/1.331, allocations: 24.36 MB / 0.7458 GB, free: 62.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/1.331, allocations: 4 kB / 0.7458 GB, free: 62.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.333, allocations: 423.4 kB / 0.7463 GB, free: 61.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01873/1.351, allocations: 6.641 MB / 0.7527 GB, free: 55.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007388/1.352, allocations: 60 kB / 0.7528 GB, free: 55.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03841/1.391, allocations: 33.33 MB / 0.7853 GB, free: 21.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.391, allocations: 15.88 kB / 0.7854 GB, free: 21.65 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03249/1.423, allocations: 18.67 MB / 0.8036 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.426, allocations: 0.6837 MB / 0.8043 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001672/1.427, allocations: 59.98 kB / 0.8043 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004137/1.431, allocations: 403.3 kB / 0.8047 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009588/1.432, allocations: 254.4 kB / 0.8049 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002892/1.433, allocations: 93.06 kB / 0.805 GB, free: 1.473 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007271/1.44, allocations: 4.505 MB / 0.8094 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.44, allocations: 4 kB / 0.8094 GB, free: 12.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.1966/1.636, allocations: 2.403 MB / 0.8118 GB, free: 158.2 MB / 494.1 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.001438/1.638, allocations: 230.8 kB / 0.812 GB, free: 158.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02166/1.66, allocations: 11.09 MB / 0.8228 GB, free: 157 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.66, allocations: 5.188 kB / 0.8228 GB, free: 157 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008397/1.668, allocations: 4.665 MB / 0.8274 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/1.675, allocations: 0.8958 MB / 0.8283 GB, free: 154.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/1.706, allocations: 19.93 MB / 0.8477 GB, free: 146.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005115/1.711, allocations: 5.06 MB / 0.8527 GB, free: 144.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005115/1.716, allocations: 2.562 MB / 0.8552 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.717, allocations: 390.2 kB / 0.8555 GB, free: 142.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/1.717, allocations: 0 / 0.8555 GB, free: 142.2 MB / 494.1 MB Notification: Performance of Templates: time 0.1371/1.854, allocations: 94.55 MB / 0.9479 GB, free: 50.04 MB / 494.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] 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.897942878305912]