Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001909/0.001909, allocations: 88.52 kB / 20.68 MB, free: 1.02 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.002121/0.002121, allocations: 162 kB / 23.95 MB, free: 4.141 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.465/1.465, allocations: 177 MB / 204.1 MB, free: 9.164 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.679e-05, allocations: 2.281 kB / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.0218/0.02183, allocations: 17.66 MB / 342.7 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.03656, allocations: 6.019 MB / 348.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004117/0.04068, allocations: 202.9 kB / 348.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01375/0.05443, allocations: 6.479 MB / 355.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009734/0.06417, allocations: 3.63 MB / 359 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.06828, allocations: 1.887 MB / 360.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01982/0.0881, allocations: 15.08 MB / 376 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.09908, allocations: 7.806 MB / 383.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.1095, allocations: 5.789 MB / 389.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.1196, allocations: 5.819 MB / 395.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00244/0.122, allocations: 0.7773 MB / 396.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.1265, allocations: 1.697 MB / 397.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006112/0.1326, allocations: 4.742 MB / 402.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006134/0.1387, allocations: 2.914 MB / 405.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.1587, allocations: 14.53 MB / 420.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.1587, allocations: 8 kB / 420.1 MB, free: 5.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1587, allocations: 0 / 420.1 MB, free: 5.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004624/0.1592, allocations: 0 / 420.1 MB, free: 5.684 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03001/0.1892, allocations: 10.45 MB / 430.5 MB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1892, allocations: 15.98 kB / 430.5 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05324/0.2425, allocations: 5.558 MB / 436.1 MB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0214/0.2639, allocations: 7.956 MB / 444.1 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006031/0.2645, allocations: 452 kB / 444.5 MB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/0.2669, allocations: 0.6055 MB / 445.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03563/0.3025, allocations: 17.46 MB / 462.6 MB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003658/0.3029, allocations: 103.2 kB / 462.7 MB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.3044, allocations: 283.7 kB / 462.9 MB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005073/0.3095, allocations: 2.854 MB / 465.8 MB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3139/0.6234, allocations: 14.02 MB / 479.8 MB, free: 114.3 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.08097/0.7044, allocations: 64.53 MB / 0.5316 GB, free: 61.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02382/0.7282, allocations: 7.792 MB / 0.5392 GB, free: 53.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006936/0.7351, allocations: 4.365 MB / 0.5435 GB, free: 49.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02788/0.763, allocations: 11.49 MB / 0.5547 GB, free: 37.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/0.7631, allocations: 72.41 kB / 0.5547 GB, free: 37.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=293): time 9.308e-06/0.7631, allocations: 0 / 0.5547 GB, free: 37.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=359): time 0.2147/0.9777, allocations: 54.92 MB / 0.6084 GB, free: 15.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/0.978, allocations: 406.2 kB / 0.6088 GB, free: 14.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01373/0.9917, allocations: 7.463 MB / 0.6161 GB, free: 7.594 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001206/0.9929, allocations: 77.7 kB / 0.6161 GB, free: 7.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00616/0.9991, allocations: 5.375 MB / 0.6214 GB, free: 2.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002815/1.002, allocations: 1.372 MB / 0.6227 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006201/1.008, allocations: 1.902 MB / 0.6246 GB, free: 15.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/1.008, allocations: 309.1 kB / 0.6249 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009256/1.018, allocations: 4.707 MB / 0.6295 GB, free: 10 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1862/1.204, allocations: 9.761 MB / 0.639 GB, free: 146.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01859/1.222, allocations: 15 MB / 0.6536 GB, free: 137.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000233/1.223, allocations: 46.91 kB / 0.6537 GB, free: 137.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.0437/1.266, allocations: 20.37 MB / 0.6736 GB, free: 131 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002972/1.267, allocations: 75.34 kB / 0.6737 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003583/1.267, allocations: 165.2 kB / 0.6738 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02219/1.289, allocations: 7.32 MB / 0.681 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006425/1.296, allocations: 2 MB / 0.6829 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04618/1.342, allocations: 35.83 MB / 0.7179 GB, free: 90.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/1.352, allocations: 0.7139 MB / 0.7186 GB, free: 89.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/1.354, allocations: 0.4986 MB / 0.7191 GB, free: 89.47 MB / 478.1 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.008602/1.363, allocations: 3.592 MB / 0.7226 GB, free: 85.97 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002939/1.366, allocations: 0.6449 MB / 0.7232 GB, free: 85.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03183/1.398, allocations: 13.8 MB / 0.7367 GB, free: 71.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.797e-05/1.398, allocations: 36 kB / 0.7367 GB, free: 71.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-05/1.398, allocations: 23.94 kB / 0.7368 GB, free: 71.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.509e-05/1.398, allocations: 15.94 kB / 0.7368 GB, free: 71.74 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05179/1.45, allocations: 25.46 MB / 0.7616 GB, free: 46.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/1.45, allocations: 4 kB / 0.7616 GB, free: 46.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.452, allocations: 468 kB / 0.7621 GB, free: 45.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02137/1.473, allocations: 6.96 MB / 0.7689 GB, free: 38.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/1.474, allocations: 67.59 kB / 0.769 GB, free: 38.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04594/1.52, allocations: 34.66 MB / 0.8028 GB, free: 3.781 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.52, allocations: 11.94 kB / 0.8028 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2419/1.762, allocations: 19.59 MB / 0.8219 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/1.765, allocations: 0.6907 MB / 0.8226 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002748/1.768, allocations: 69.27 kB / 0.8227 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00616/1.774, allocations: 421.5 kB / 0.8231 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/1.775, allocations: 266.3 kB / 0.8233 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008248/1.776, allocations: 109.4 kB / 0.8234 GB, free: 154.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009475/1.786, allocations: 4.619 MB / 0.828 GB, free: 153.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.786, allocations: 3.828 kB / 0.828 GB, free: 153.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01096/1.797, allocations: 2.485 MB / 0.8304 GB, free: 152.9 MB / 494.1 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.001379/1.798, allocations: 239.1 kB / 0.8306 GB, free: 152.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01921/1.817, allocations: 11.5 MB / 0.8418 GB, free: 148.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.817, allocations: 0 / 0.8418 GB, free: 148.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009532/1.827, allocations: 4.911 MB / 0.8466 GB, free: 146.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008631/1.835, allocations: 0.9043 MB / 0.8475 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/1.873, allocations: 20.75 MB / 0.8678 GB, free: 130.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006183/1.88, allocations: 5.269 MB / 0.8729 GB, free: 125.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005935/1.886, allocations: 2.653 MB / 0.8755 GB, free: 123.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.887, allocations: 404.4 kB / 0.8759 GB, free: 123 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/1.887, allocations: 0 / 0.8759 GB, free: 123 MB / 494.1 MB Notification: Performance of Templates: time 0.138/2.025, allocations: 98.99 MB / 0.9726 GB, free: 24.7 MB / 494.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.371451940387487]