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.001016/0.001016, allocations: 76.41 kB / 22.21 MB, free: 2.281 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.001129/0.001129, allocations: 167.5 kB / 25.61 MB, free: 8.883 MB / 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 0.9785/0.9785, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.142e-06/1.142e-06, allocations: 0 / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.922e-05, allocations: 2.312 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01722/0.01724, allocations: 18.19 MB / 292.4 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.02976, allocations: 5.879 MB / 298.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.03352, allocations: 190.9 kB / 298.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008985/0.0425, allocations: 6.176 MB / 304.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.04934, allocations: 3.534 MB / 308.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.05195, allocations: 1.821 MB / 310 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01523/0.06718, allocations: 14.8 MB / 324.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01049/0.07767, allocations: 7.727 MB / 332.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.08997, allocations: 8.411 MB / 340.9 MB, free: 1.426 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1458/0.2358, allocations: 5.715 MB / 346.7 MB, free: 35.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002959/0.2387, allocations: 0.7506 MB / 347.4 MB, free: 35.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.2429, allocations: 1.673 MB / 349.1 MB, free: 35.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00422/0.2471, allocations: 4.596 MB / 353.7 MB, free: 35.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004708/0.2518, allocations: 2.814 MB / 356.5 MB, free: 35.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009342/0.2612, allocations: 8.965 MB / 365.5 MB, free: 34.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2612, allocations: 0 / 365.5 MB, free: 34.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2612, allocations: 2.562 kB / 365.5 MB, free: 34.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003573/0.2615, allocations: 0 / 365.5 MB, free: 34.64 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.01552/0.2771, allocations: 9.93 MB / 375.4 MB, free: 29.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2771, allocations: 9.25 kB / 375.4 MB, free: 29.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02287/0.3, allocations: 5.025 MB / 380.4 MB, free: 26.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007951/0.3079, allocations: 5.315 MB / 385.7 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.3081, allocations: 425.4 kB / 386.2 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.3092, allocations: 0.59 MB / 386.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.3218, allocations: 9.3 MB / 396 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002532/0.3221, allocations: 92.45 kB / 396.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000558/0.3227, allocations: 263.6 kB / 396.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/0.3244, allocations: 2.519 MB / 398.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008473/0.3329, allocations: 4.058 MB / 403 MB, free: 4.008 MB / 314.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.05979/0.3926, allocations: 69.56 MB / 472.5 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/0.401, allocations: 3.209 MB / 475.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.4031, allocations: 0.9255 MB / 476.7 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/0.4176, allocations: 6.923 MB / 483.6 MB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.4177, allocations: 62.77 kB / 483.6 MB, free: 3.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=248): time 5.851e-06/0.4177, allocations: 0 / 483.6 MB, free: 3.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=298): time 0.189/0.6066, allocations: 17.56 MB / 0.4895 GB, free: 126.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.6067, allocations: 400.8 kB / 0.4898 GB, free: 126.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007419/0.6141, allocations: 6.119 MB / 0.4958 GB, free: 125.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005866/0.6147, allocations: 70.2 kB / 0.4959 GB, free: 125.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002978/0.6177, allocations: 5.62 MB / 0.5014 GB, free: 122.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.6191, allocations: 1.209 MB / 0.5026 GB, free: 121.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002147/0.6213, allocations: 1.981 MB / 0.5045 GB, free: 121.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.6213, allocations: 480.7 kB / 0.5049 GB, free: 121.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.6229, allocations: 0.9219 MB / 0.5058 GB, free: 121.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003948/0.6268, allocations: 8.617 MB / 0.5143 GB, free: 109.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007492/0.6343, allocations: 10.09 MB / 0.5241 GB, free: 97.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003514/0.6347, allocations: 48 kB / 0.5242 GB, free: 97.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.0145/0.6492, allocations: 7.627 MB / 0.5316 GB, free: 89.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.374e-05/0.6493, allocations: 83.94 kB / 0.5317 GB, free: 89.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001645/0.6494, allocations: 172 kB / 0.5319 GB, free: 89.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/0.6528, allocations: 1.273 MB / 0.5331 GB, free: 88.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004593/0.6574, allocations: 1.977 MB / 0.535 GB, free: 86.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006744/0.6642, allocations: 6.723 MB / 0.5416 GB, free: 79.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/0.6709, allocations: 375.7 kB / 0.5419 GB, free: 79.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/0.6723, allocations: 440 kB / 0.5424 GB, free: 78.7 MB / 394.7 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 (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 (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.003571/0.6758, allocations: 0.8883 MB / 0.5432 GB, free: 77.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001859/0.6777, allocations: 0.7029 MB / 0.5439 GB, free: 77.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.6824, allocations: 2.489 MB / 0.5464 GB, free: 74.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/0.6824, allocations: 28 kB / 0.5464 GB, free: 74.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.6824, allocations: 8 kB / 0.5464 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.6825, allocations: 15.95 kB / 0.5464 GB, free: 74.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/0.7021, allocations: 10.57 MB / 0.5567 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.7021, allocations: 20 kB / 0.5567 GB, free: 63.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.7032, allocations: 435.3 kB / 0.5572 GB, free: 63.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/0.7059, allocations: 1.029 MB / 0.5582 GB, free: 62.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/0.7062, allocations: 75.98 kB / 0.5582 GB, free: 61.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/0.7111, allocations: 5.782 MB / 0.5639 GB, free: 55.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/0.7111, allocations: 31.88 kB / 0.5639 GB, free: 55.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006244/0.7173, allocations: 4.572 MB / 0.5684 GB, free: 50.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/0.7199, allocations: 0.6518 MB / 0.569 GB, free: 50.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/0.7216, allocations: 80.02 kB / 0.5691 GB, free: 50.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.7238, allocations: 83.97 kB / 0.5692 GB, free: 50.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/0.7242, allocations: 269 kB / 0.5694 GB, free: 49.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.7243, allocations: 84 kB / 0.5695 GB, free: 49.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003416/0.7278, allocations: 2.644 MB / 0.5721 GB, free: 47.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7278, allocations: 0 / 0.5721 GB, free: 47.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008122/0.7359, allocations: 2.023 MB / 0.5741 GB, free: 45.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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 (246): * Single equations (assignments): 239 * 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,38,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007945/0.7367, allocations: 258.4 kB / 0.5743 GB, free: 44.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007294/0.744, allocations: 4.589 MB / 0.5788 GB, free: 40.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/0.744, allocations: 8.125 kB / 0.5788 GB, free: 40.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.746, allocations: 1.597 MB / 0.5804 GB, free: 38.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006001/0.752, allocations: 0.9621 MB / 0.5813 GB, free: 37.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/0.7753, allocations: 14.29 MB / 0.5953 GB, free: 22.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/0.7795, allocations: 2.294 MB / 0.5975 GB, free: 20.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003452/0.783, allocations: 0.8335 MB / 0.5983 GB, free: 19.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/0.7849, allocations: 1.088 MB / 0.5994 GB, free: 18.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.024e-06/0.7849, allocations: 0 / 0.5994 GB, free: 18.5 MB / 394.7 MB Notification: Performance of Templates: time 0.2235/1.008, allocations: 71.1 MB / 0.6688 GB, free: 79.5 MB / 394.7 MB " [Timeout remaining time 659] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.645284588914365]