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.001898/0.001898, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002081/0.002081, allocations: 169.3 kB / 24.28 MB, free: 152 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.363e-06/1.363e-06, allocations: 0 / 272.4 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.783e-05, allocations: 2.312 kB / 272.4 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1372/0.1372, allocations: 19.84 MB / 292.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.1493, allocations: 6.104 MB / 298.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/0.1533, allocations: 204.7 kB / 298.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.1655, allocations: 6.83 MB / 305.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008499/0.174, allocations: 3.623 MB / 309 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.1774, allocations: 1.921 MB / 310.9 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01577/0.1932, allocations: 15.09 MB / 326 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01348/0.2067, allocations: 8.082 MB / 334 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/0.2201, allocations: 5.808 MB / 339.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.231, allocations: 5.963 MB / 345.8 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002597/0.2336, allocations: 0.7773 MB / 346.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005268/0.2389, allocations: 1.693 MB / 348.3 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007242/0.2461, allocations: 4.77 MB / 353.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007794/0.2539, allocations: 2.93 MB / 356 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02336/0.2773, allocations: 14.57 MB / 370.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.2773, allocations: 4 kB / 370.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2773, allocations: 0 / 370.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005723/0.2779, allocations: 0 / 370.6 MB, free: 15.51 MB / 330.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.03298/0.3109, allocations: 11.85 MB / 382.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3109, allocations: 8.031 kB / 382.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05143/0.3623, allocations: 6.253 MB / 388.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/0.3846, allocations: 7.338 MB / 396 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/0.3851, allocations: 448 kB / 396.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00214/0.3873, allocations: 0.6171 MB / 397.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02856/0.4158, allocations: 11.39 MB / 408.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003307/0.4162, allocations: 91.3 kB / 408.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.4172, allocations: 283.8 kB / 408.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005575/0.4228, allocations: 2.854 MB / 411.7 MB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/0.4461, allocations: 5.938 MB / 417.6 MB, free: 14.75 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.3185/0.7646, allocations: 78.77 MB / 496.4 MB, free: 52.21 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01709/0.7817, allocations: 4.852 MB / 0.4895 GB, free: 51.43 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003546/0.7852, allocations: 1.485 MB / 0.4909 GB, free: 50.99 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01841/0.8036, allocations: 7.762 MB / 0.4985 GB, free: 45.89 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.8037, allocations: 74.89 kB / 0.4986 GB, free: 45.81 MB / 378.8 MB Notification: Performance of pre-optimization done (n=293): time 5.791e-06/0.8037, allocations: 0 / 0.4986 GB, free: 45.81 MB / 378.8 MB Notification: Performance of matching and sorting (n=359): time 0.1682/0.9719, allocations: 41.24 MB / 0.5389 GB, free: 5.246 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.972, allocations: 410.2 kB / 0.5392 GB, free: 4.758 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/0.9852, allocations: 7.773 MB / 0.5468 GB, free: 13.2 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009525/0.9862, allocations: 81.7 kB / 0.5469 GB, free: 13.11 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006672/0.9929, allocations: 6.02 MB / 0.5528 GB, free: 7.457 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002644/0.9955, allocations: 1.51 MB / 0.5543 GB, free: 5.965 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006158/1.002, allocations: 2.39 MB / 0.5566 GB, free: 3.559 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0002376/1.002, allocations: 476.8 kB / 0.5571 GB, free: 3.09 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/1.007, allocations: 1.689 MB / 0.5587 GB, free: 1.395 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/1.019, allocations: 9.309 MB / 0.5678 GB, free: 4.82 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1778/1.197, allocations: 12.73 MB / 0.5802 GB, free: 109.9 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002359/1.197, allocations: 46.69 kB / 0.5803 GB, free: 109.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03838/1.235, allocations: 12.98 MB / 0.593 GB, free: 108.4 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/1.236, allocations: 78.91 kB / 0.593 GB, free: 108.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/1.236, allocations: 167.5 kB / 0.5932 GB, free: 108.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02334/1.259, allocations: 5.456 MB / 0.5985 GB, free: 108.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006296/1.265, allocations: 1.998 MB / 0.6005 GB, free: 108.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02954/1.295, allocations: 15.45 MB / 0.6156 GB, free: 100.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008662/1.304, allocations: 0.713 MB / 0.6162 GB, free: 99.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/1.305, allocations: 0.5047 MB / 0.6167 GB, free: 99.32 MB / 410.8 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.003742/1.309, allocations: 1.016 MB / 0.6177 GB, free: 98.71 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.311, allocations: 0.7432 MB / 0.6185 GB, free: 98.37 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03637/1.347, allocations: 7.809 MB / 0.6261 GB, free: 90.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/1.347, allocations: 39.98 kB / 0.6261 GB, free: 90.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-05/1.347, allocations: 27.94 kB / 0.6262 GB, free: 90.67 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.569e-05/1.347, allocations: 15.94 kB / 0.6262 GB, free: 90.65 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05702/1.404, allocations: 19.61 MB / 0.6453 GB, free: 70.78 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.851e-05/1.404, allocations: 8 kB / 0.6453 GB, free: 70.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.407, allocations: 463.3 kB / 0.6458 GB, free: 70.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02173/1.428, allocations: 5.13 MB / 0.6508 GB, free: 65.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008197/1.429, allocations: 64 kB / 0.6508 GB, free: 65.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03329/1.462, allocations: 14.63 MB / 0.6651 GB, free: 50.22 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.462, allocations: 4 kB / 0.6651 GB, free: 50.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03896/1.501, allocations: 9.789 MB / 0.6747 GB, free: 40.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00296/1.504, allocations: 0.6835 MB / 0.6754 GB, free: 39.55 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002249/1.507, allocations: 64 kB / 0.6754 GB, free: 39.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005633/1.512, allocations: 419.3 kB / 0.6758 GB, free: 39.07 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001157/1.513, allocations: 270.6 kB / 0.6761 GB, free: 38.81 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003335/1.514, allocations: 88 kB / 0.6762 GB, free: 38.72 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005/1.519, allocations: 3.463 MB / 0.6795 GB, free: 35.28 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/1.519, allocations: 0 / 0.6795 GB, free: 35.28 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.009557/1.528, allocations: 2.49 MB / 0.682 GB, free: 32.79 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,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.0008567/1.529, allocations: 229.9 kB / 0.6822 GB, free: 32.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01622/1.545, allocations: 7.437 MB / 0.6895 GB, free: 25.07 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/1.545, allocations: 0 / 0.6895 GB, free: 25.07 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007283/1.553, allocations: 3.251 MB / 0.6926 GB, free: 21.76 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006539/1.559, allocations: 0.972 MB / 0.6936 GB, free: 20.82 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/1.588, allocations: 16.39 MB / 0.7096 GB, free: 4.215 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005885/1.594, allocations: 4.817 MB / 0.7143 GB, free: 15.36 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006744/1.601, allocations: 2.224 MB / 0.7165 GB, free: 13.13 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/1.602, allocations: 404.4 kB / 0.7168 GB, free: 12.73 MB / 426.8 MB Notification: Performance of SimCode: time 1.583e-06/1.602, allocations: 0 / 0.7168 GB, free: 12.73 MB / 426.8 MB Notification: Performance of Templates: time 0.2824/1.885, allocations: 99.96 MB / 0.8145 GB, free: 56.86 MB / 426.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] 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.249940442037769]