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.00199/0.00199, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.00209/0.00209, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.572/1.572, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.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.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 0.001567/0.001567, allocations: 47.92 kB / 373.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1094, allocations: 53.33 MB / 426.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.2259/0.3353, allocations: 20.52 MB / 447.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.3512, allocations: 6.205 MB / 453.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005603/0.3568, allocations: 204.2 kB / 453.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01337/0.3702, allocations: 6.411 MB / 460.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.3804, allocations: 3.496 MB / 463.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0045/0.3849, allocations: 1.655 MB / 465.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01897/0.4038, allocations: 12.96 MB / 478.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009356/0.4132, allocations: 6.773 MB / 485.1 MB, free: 6.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007417/0.4206, allocations: 3.805 MB / 488.9 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009365/0.43, allocations: 5.348 MB / 494.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002731/0.4327, allocations: 0.7461 MB / 495 MB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.4377, allocations: 1.744 MB / 496.7 MB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006491/0.4442, allocations: 4.492 MB / 0.4894 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01237/0.4566, allocations: 4.639 MB / 0.494 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02152/0.4781, allocations: 14.16 MB / 0.5078 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4781, allocations: 4 kB / 0.5078 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4781, allocations: 0 / 0.5078 GB, free: 3.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004957/0.4786, allocations: 4 kB / 0.5078 GB, free: 3.043 MB / 414.1 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.04173/0.5203, allocations: 10.27 MB / 0.5178 GB, free: 8.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.5204, allocations: 16.02 kB / 0.5179 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06031/0.5807, allocations: 5.32 MB / 0.5231 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02127/0.602, allocations: 8.126 MB / 0.531 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000519/0.6025, allocations: 448.2 kB / 0.5314 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/0.6051, allocations: 0.6128 MB / 0.532 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/0.6425, allocations: 17.13 MB / 0.5487 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004215/0.6429, allocations: 95.98 kB / 0.5488 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001863/0.6448, allocations: 279.8 kB / 0.5491 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005269/0.6501, allocations: 2.862 MB / 0.5519 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03124/0.6813, allocations: 14.03 MB / 0.5656 GB, free: 6.621 MB / 478.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.6103/1.292, allocations: 69.77 MB / 0.6337 GB, free: 117.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/1.314, allocations: 7.943 MB / 0.6415 GB, free: 116.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006211/1.321, allocations: 4.353 MB / 0.6457 GB, free: 115.8 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02177/1.342, allocations: 12.78 MB / 0.6582 GB, free: 110 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/1.342, allocations: 70.88 kB / 0.6583 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=293): time 6.342e-06/1.342, allocations: 0 / 0.6583 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=359): time 0.1925/1.535, allocations: 52.79 MB / 0.7098 GB, free: 72.72 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/1.535, allocations: 401.8 kB / 0.7102 GB, free: 72.25 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007869/1.543, allocations: 7.283 MB / 0.7173 GB, free: 65.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008278/1.544, allocations: 77.7 kB / 0.7174 GB, free: 65.02 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/1.546, allocations: 5.384 MB / 0.7227 GB, free: 60.16 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.547, allocations: 1.389 MB / 0.724 GB, free: 58.79 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002377/1.55, allocations: 1.925 MB / 0.7259 GB, free: 56.85 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.931e-05/1.55, allocations: 301.1 kB / 0.7262 GB, free: 56.55 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005635/1.555, allocations: 4.711 MB / 0.7308 GB, free: 51.84 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008255/1.564, allocations: 9.534 MB / 0.7401 GB, free: 40.03 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/1.579, allocations: 15 MB / 0.7548 GB, free: 22.88 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.579, allocations: 44 kB / 0.7548 GB, free: 22.84 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03928/1.618, allocations: 20.41 MB / 0.7747 GB, free: 2.387 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.299e-05/1.618, allocations: 76 kB / 0.7748 GB, free: 2.312 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/1.618, allocations: 164 kB / 0.775 GB, free: 2.152 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02381/1.642, allocations: 7.336 MB / 0.7821 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007012/1.649, allocations: 2 MB / 0.7841 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05843/1.708, allocations: 36.58 MB / 0.8198 GB, free: 3.789 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009596/1.717, allocations: 0.6047 MB / 0.8204 GB, free: 3.184 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00201/1.719, allocations: 0.5 MB / 0.8209 GB, free: 2.684 MB / 0.5607 GB 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.009183/1.728, allocations: 3.594 MB / 0.8244 GB, free: 15.08 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002006/1.73, allocations: 0.6946 MB / 0.8251 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03567/1.766, allocations: 13.85 MB / 0.8386 GB, free: 476 kB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-05/1.766, allocations: 36 kB / 0.8386 GB, free: 440 kB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-05/1.766, allocations: 20 kB / 0.8386 GB, free: 420 kB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.704e-05/1.766, allocations: 19.94 kB / 0.8387 GB, free: 400 kB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3471/2.113, allocations: 27.61 MB / 0.8656 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.607e-05/2.114, allocations: 5.719 kB / 0.8656 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/2.116, allocations: 461.8 kB / 0.8661 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02288/2.139, allocations: 6.974 MB / 0.8729 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/2.14, allocations: 66.03 kB / 0.8729 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04304/2.183, allocations: 35.35 MB / 0.9075 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/2.183, allocations: 12.83 kB / 0.9075 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03477/2.218, allocations: 19.65 MB / 0.9267 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/2.221, allocations: 0.7417 MB / 0.9274 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/2.222, allocations: 60.55 kB / 0.9275 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004909/2.227, allocations: 320.2 kB / 0.9278 GB, free: 150.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/2.229, allocations: 254.5 kB / 0.928 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003208/2.229, allocations: 102.6 kB / 0.9281 GB, free: 150.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007618/2.237, allocations: 4.642 MB / 0.9326 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/2.237, allocations: 0 / 0.9326 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01083/2.247, allocations: 2.206 MB / 0.9348 GB, free: 143.3 MB / 0.5763 GB 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.0009452/2.248, allocations: 224.7 kB / 0.935 GB, free: 143.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01729/2.266, allocations: 11.53 MB / 0.9463 GB, free: 131.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/2.266, allocations: 0 / 0.9463 GB, free: 131.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008338/2.274, allocations: 4.899 MB / 0.951 GB, free: 126.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006654/2.281, allocations: 1.012 MB / 0.952 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03495/2.316, allocations: 20.59 MB / 0.9721 GB, free: 105.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007319/2.323, allocations: 5.722 MB / 0.9777 GB, free: 99.51 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006072/2.329, allocations: 2.697 MB / 0.9804 GB, free: 96.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/2.33, allocations: 407.4 kB / 0.9807 GB, free: 96.46 MB / 0.5763 GB Notification: Performance of SimCode: time 8.91e-07/2.33, allocations: 0 / 0.9807 GB, free: 96.46 MB / 0.5763 GB Notification: Performance of Templates: time 0.3927/2.723, allocations: 99.49 MB / 1.078 GB, free: 188.1 MB / 0.5763 GB " [Timeout remaining time 657] 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: 9.80589022487402]