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.0007741/0.0007741, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005485/0.005485, allocations: 160.5 kB / 24.7 MB, free: 9.418 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.857/0.857, allocations: 177.2 MB / 205 MB, free: 5.719 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.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.503e-06/1.503e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.293e-05, allocations: 2.281 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01151/0.01153, allocations: 17.66 MB / 343.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009822/0.02135, allocations: 6.004 MB / 349.5 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.02389, allocations: 202.8 kB / 349.7 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005769/0.02966, allocations: 6.495 MB / 356.2 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.03557, allocations: 3.615 MB / 359.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.038, allocations: 1.895 MB / 361.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.04938, allocations: 15.08 MB / 376.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006542/0.05592, allocations: 7.806 MB / 384.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006421/0.06234, allocations: 5.785 MB / 390.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005523/0.06787, allocations: 5.826 MB / 396.2 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.06893, allocations: 0.7773 MB / 397 MB, free: 7.965 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.07112, allocations: 1.693 MB / 398.7 MB, free: 6.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003195/0.07431, allocations: 4.746 MB / 403.5 MB, free: 1.512 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.07708, allocations: 2.91 MB / 406.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.08745, allocations: 14.53 MB / 420.9 MB, free: 24 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.08746, allocations: 0 / 420.9 MB, free: 24 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.08746, allocations: 0 / 420.9 MB, free: 24 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001977/0.08766, allocations: 0 / 420.9 MB, free: 24 kB / 378.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.01302/0.1007, allocations: 10.45 MB / 431.3 MB, free: 5.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1007, allocations: 11.97 kB / 431.4 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/0.1208, allocations: 5.558 MB / 436.9 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.132, allocations: 7.96 MB / 444.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.1322, allocations: 444 kB / 445.3 MB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008918/0.1331, allocations: 0.6093 MB / 445.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1597/0.2928, allocations: 17.46 MB / 463.4 MB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.2929, allocations: 97.97 kB / 463.5 MB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004794/0.2934, allocations: 281.4 kB / 463.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002165/0.2956, allocations: 2.864 MB / 466.6 MB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.3094, allocations: 14.02 MB / 480.6 MB, free: 90.19 MB / 410.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.04174/0.3512, allocations: 64.54 MB / 0.5324 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.3616, allocations: 7.787 MB / 0.54 GB, free: 17.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.3645, allocations: 4.361 MB / 0.5443 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.3751, allocations: 11.49 MB / 0.5555 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3751, allocations: 72.48 kB / 0.5555 GB, free: 1.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=293): time 5.33e-06/0.3751, allocations: 0 / 0.5555 GB, free: 1.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=359): time 0.1053/0.4805, allocations: 54.93 MB / 0.6092 GB, free: 10.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.4806, allocations: 394.2 kB / 0.6096 GB, free: 10.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007389/0.488, allocations: 7.463 MB / 0.6168 GB, free: 2.773 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000385/0.4884, allocations: 81.7 kB / 0.6169 GB, free: 2.688 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1516/0.64, allocations: 5.375 MB / 0.6222 GB, free: 157.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001759/0.6417, allocations: 1.371 MB / 0.6235 GB, free: 157 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002219/0.6439, allocations: 1.904 MB / 0.6254 GB, free: 156.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.792e-05/0.644, allocations: 303 kB / 0.6257 GB, free: 156.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/0.6481, allocations: 4.712 MB / 0.6303 GB, free: 154.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00511/0.6532, allocations: 9.76 MB / 0.6398 GB, free: 146.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009871/0.6631, allocations: 15.01 MB / 0.6544 GB, free: 135.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.442e-05/0.6631, allocations: 50.77 kB / 0.6545 GB, free: 135.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.02166/0.6848, allocations: 20.36 MB / 0.6744 GB, free: 119.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/0.6848, allocations: 72 kB / 0.6744 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/0.685, allocations: 164 kB / 0.6746 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.6953, allocations: 7.32 MB / 0.6818 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003502/0.6988, allocations: 2.004 MB / 0.6837 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02639/0.7252, allocations: 35.83 MB / 0.7187 GB, free: 73.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/0.7308, allocations: 0.7061 MB / 0.7194 GB, free: 73.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005624/0.7314, allocations: 0.5039 MB / 0.7199 GB, free: 72.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 (1081): * Single equations (assignments): 1075 * 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,96,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.003922/0.7353, allocations: 3.589 MB / 0.7234 GB, free: 69.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/0.7361, allocations: 0.6473 MB / 0.724 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.7509, allocations: 13.8 MB / 0.7375 GB, free: 54.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.7509, allocations: 36 kB / 0.7375 GB, free: 54.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.751, allocations: 22.25 kB / 0.7376 GB, free: 54.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.751, allocations: 19.94 kB / 0.7376 GB, free: 54.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/0.7782, allocations: 25.46 MB / 0.7624 GB, free: 28.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.7782, allocations: 4.688 kB / 0.7624 GB, free: 28.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.7793, allocations: 467.3 kB / 0.7629 GB, free: 28.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/0.7897, allocations: 6.96 MB / 0.7697 GB, free: 21.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003389/0.7901, allocations: 67.42 kB / 0.7697 GB, free: 21.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1947/0.9848, allocations: 34.66 MB / 0.8036 GB, free: 153.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.9848, allocations: 7.969 kB / 0.8036 GB, free: 153.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02119/1.006, allocations: 19.59 MB / 0.8227 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/1.008, allocations: 0.6997 MB / 0.8234 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009042/1.009, allocations: 63.44 kB / 0.8235 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.011, allocations: 423.6 kB / 0.8239 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00069/1.012, allocations: 262.8 kB / 0.8241 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.012, allocations: 99.72 kB / 0.8242 GB, free: 146.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004634/1.017, allocations: 4.617 MB / 0.8287 GB, free: 144.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 0 / 0.8287 GB, free: 144.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005736/1.022, allocations: 2.49 MB / 0.8312 GB, free: 142.4 MB / 490.7 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,90,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.0004993/1.023, allocations: 238.9 kB / 0.8314 GB, free: 142.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01101/1.034, allocations: 11.51 MB / 0.8426 GB, free: 132.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/1.034, allocations: 0 / 0.8426 GB, free: 132.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004536/1.038, allocations: 4.903 MB / 0.8474 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.042, allocations: 0.9189 MB / 0.8483 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.063, allocations: 21.37 MB / 0.8692 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003441/1.067, allocations: 5.198 MB / 0.8743 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.068, allocations: 456.1 kB / 0.8747 GB, free: 99.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/1.068, allocations: 0 / 0.8747 GB, free: 99.65 MB / 490.7 MB Notification: Performance of Templates: time 0.3117/1.38, allocations: 218.4 MB / 1.088 GB, free: 56.69 MB / 490.7 MB " [Timeout remaining time 659] 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: 15.351213674992323]