Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001949/0.001949, allocations: 89.45 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002358/0.002358, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.383e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02051/0.02053, allocations: 16.75 MB / 341.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.03425, allocations: 5.806 MB / 347.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.03775, allocations: 194.9 kB / 347.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.05035, allocations: 5.969 MB / 353.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009524/0.05987, allocations: 3.518 MB / 357.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.06374, allocations: 1.782 MB / 359.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0198/0.08354, allocations: 14.8 MB / 373.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.09516, allocations: 7.459 MB / 381.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.1063, allocations: 5.547 MB / 386.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00971/0.116, allocations: 5.624 MB / 392.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.1181, allocations: 0.7422 MB / 393.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.122, allocations: 1.662 MB / 394.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005773/0.1278, allocations: 4.551 MB / 399.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005762/0.1335, allocations: 2.789 MB / 402.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.1522, allocations: 14 MB / 416.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1523, allocations: 7.938 kB / 416.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1523, allocations: 0 / 416.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003472/0.1526, allocations: 4 kB / 416.2 MB, free: 9.531 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.02548/0.1781, allocations: 10.09 MB / 426.3 MB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1781, allocations: 15.98 kB / 426.3 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05078/0.2289, allocations: 5.512 MB / 431.9 MB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02029/0.2492, allocations: 7.747 MB / 439.6 MB, free: 2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/0.2496, allocations: 427.4 kB / 440 MB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.2513, allocations: 0.5781 MB / 440.6 MB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03378/0.2851, allocations: 16.83 MB / 457.4 MB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.2854, allocations: 99.25 kB / 457.5 MB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008159/0.2862, allocations: 279.7 kB / 457.8 MB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005032/0.2913, allocations: 2.756 MB / 460.6 MB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3279/0.6192, allocations: 13.61 MB / 474.2 MB, free: 115.4 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.07433/0.6935, allocations: 62.76 MB / 0.5243 GB, free: 69.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/0.7125, allocations: 7.471 MB / 0.5316 GB, free: 61.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004552/0.717, allocations: 4.252 MB / 0.5358 GB, free: 57.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/0.7345, allocations: 11.15 MB / 0.5467 GB, free: 46.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.7345, allocations: 68.5 kB / 0.5468 GB, free: 46.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 6.543e-06/0.7345, allocations: 3.938 kB / 0.5468 GB, free: 46.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.1922/0.9267, allocations: 52.44 MB / 0.598 GB, free: 10.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002802/0.9269, allocations: 394.1 kB / 0.5984 GB, free: 9.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/0.9411, allocations: 7.288 MB / 0.6055 GB, free: 2.887 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001012/0.9422, allocations: 81.14 kB / 0.6055 GB, free: 2.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004917/0.9471, allocations: 5.182 MB / 0.6106 GB, free: 13.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002143/0.9492, allocations: 1.3 MB / 0.6119 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004848/0.9541, allocations: 1.853 MB / 0.6137 GB, free: 10.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9542, allocations: 312.8 kB / 0.614 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008404/0.9626, allocations: 4.547 MB / 0.6184 GB, free: 5.758 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/0.9758, allocations: 9.489 MB / 0.6277 GB, free: 9.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1893/1.165, allocations: 14.53 MB / 0.6419 GB, free: 146 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/1.165, allocations: 49.28 kB / 0.6419 GB, free: 146 MB / 478.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03989/1.205, allocations: 19.65 MB / 0.6611 GB, free: 140.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.353e-05/1.205, allocations: 80.91 kB / 0.6612 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/1.205, allocations: 164 kB / 0.6614 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/1.226, allocations: 7.055 MB / 0.6682 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005889/1.232, allocations: 1.923 MB / 0.6701 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03982/1.272, allocations: 34.59 MB / 0.7039 GB, free: 104.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008388/1.28, allocations: 0.6863 MB / 0.7046 GB, free: 104.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.282, allocations: 0.4885 MB / 0.705 GB, free: 103.6 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.005527/1.287, allocations: 3.475 MB / 0.7084 GB, free: 100.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/1.289, allocations: 0.6155 MB / 0.709 GB, free: 99.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/1.316, allocations: 13.2 MB / 0.7219 GB, free: 86.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/1.316, allocations: 32 kB / 0.722 GB, free: 86.65 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.744e-05/1.316, allocations: 24 kB / 0.722 GB, free: 86.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/1.316, allocations: 15.94 kB / 0.722 GB, free: 86.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04827/1.365, allocations: 24.36 MB / 0.7458 GB, free: 61.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/1.365, allocations: 11.98 kB / 0.7458 GB, free: 61.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/1.367, allocations: 415.5 kB / 0.7462 GB, free: 61.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02031/1.387, allocations: 6.64 MB / 0.7527 GB, free: 54.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006581/1.387, allocations: 65.56 kB / 0.7527 GB, free: 54.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04064/1.428, allocations: 33.33 MB / 0.7853 GB, free: 21.42 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.428, allocations: 11.94 kB / 0.7853 GB, free: 21.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03397/1.462, allocations: 18.68 MB / 0.8035 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.464, allocations: 0.6788 MB / 0.8042 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002013/1.466, allocations: 60 kB / 0.8043 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005198/1.471, allocations: 407.4 kB / 0.8046 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/1.473, allocations: 256.5 kB / 0.8049 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004967/1.473, allocations: 91.81 kB / 0.805 GB, free: 1.238 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00907/1.482, allocations: 4.508 MB / 0.8094 GB, free: 12.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.482, allocations: 0 / 0.8094 GB, free: 12.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.2047/1.687, allocations: 2.405 MB / 0.8117 GB, free: 157.8 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.001441/1.688, allocations: 237.1 kB / 0.812 GB, free: 157.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02129/1.71, allocations: 11.08 MB / 0.8228 GB, free: 156.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.71, allocations: 2.656 kB / 0.8228 GB, free: 156.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009079/1.719, allocations: 4.666 MB / 0.8273 GB, free: 154.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008266/1.727, allocations: 0.8937 MB / 0.8282 GB, free: 154.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/1.761, allocations: 19.94 MB / 0.8477 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006062/1.767, allocations: 5.06 MB / 0.8526 GB, free: 143.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005349/1.772, allocations: 2.568 MB / 0.8551 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.774, allocations: 391.3 kB / 0.8555 GB, free: 142 MB / 494.1 MB Notification: Performance of SimCode: time 8.91e-07/1.774, allocations: 0 / 0.8555 GB, free: 142 MB / 494.1 MB Notification: Performance of Templates: time 0.1332/1.907, allocations: 94.53 MB / 0.9478 GB, free: 49.67 MB / 494.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.982947807759047]