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.001298/0.001298, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001345/0.001345, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.07 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.94 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1161, allocations: 53.33 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2459/0.362, allocations: 19.45 MB / 445.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.3772, allocations: 6.008 MB / 451.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005191/0.3824, allocations: 189 kB / 452 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.3945, allocations: 5.908 MB / 457.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.4061, allocations: 3.399 MB / 461.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.4102, allocations: 1.564 MB / 462.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02158/0.4318, allocations: 12.67 MB / 475.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009722/0.4415, allocations: 6.41 MB / 481.9 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008023/0.4495, allocations: 3.626 MB / 485.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008864/0.4584, allocations: 5.114 MB / 490.7 MB, free: 272 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002775/0.4611, allocations: 0.7149 MB / 491.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004841/0.466, allocations: 1.709 MB / 493.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007296/0.4733, allocations: 4.352 MB / 497.4 MB, free: 9.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.4843, allocations: 4.744 MB / 0.4904 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02323/0.5076, allocations: 14.35 MB / 0.5044 GB, free: 6.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.5076, allocations: 0 / 0.5044 GB, free: 6.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5076, allocations: 0 / 0.5044 GB, free: 6.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004947/0.5081, allocations: 0 / 0.5044 GB, free: 6.305 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.03434/0.5424, allocations: 10.57 MB / 0.5147 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001148/0.5425, allocations: 8.031 kB / 0.5148 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003734/0.5463, allocations: 1.144 MB / 0.5159 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3069/0.8532, allocations: 24.3 MB / 0.5396 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02526/0.8785, allocations: 9.175 MB / 0.5486 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004234/0.8789, allocations: 423.4 kB / 0.549 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.8815, allocations: 0.5932 MB / 0.5495 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03765/0.9192, allocations: 16.16 MB / 0.5653 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000412/0.9196, allocations: 103.3 kB / 0.5654 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/0.9214, allocations: 267.8 kB / 0.5657 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005272/0.9267, allocations: 2.764 MB / 0.5684 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03248/0.9592, allocations: 12.86 MB / 0.5809 GB, free: 6.641 MB / 494.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.5428/1.502, allocations: 66.22 MB / 0.6456 GB, free: 119 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02389/1.526, allocations: 7.358 MB / 0.6528 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006365/1.532, allocations: 3.921 MB / 0.6566 GB, free: 116.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02123/1.553, allocations: 11.69 MB / 0.668 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/1.553, allocations: 71.17 kB / 0.6681 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 5.36e-06/1.553, allocations: 0 / 0.6681 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=339): time 0.1732/1.727, allocations: 47.74 MB / 0.7147 GB, free: 77.23 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002405/1.727, allocations: 405.6 kB / 0.7151 GB, free: 76.75 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.738, allocations: 7.166 MB / 0.7221 GB, free: 69.71 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008155/1.739, allocations: 77.7 kB / 0.7222 GB, free: 69.62 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003201/1.742, allocations: 5.346 MB / 0.7274 GB, free: 64.84 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001934/1.744, allocations: 1.289 MB / 0.7287 GB, free: 63.57 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002848/1.747, allocations: 1.663 MB / 0.7303 GB, free: 61.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.823e-05/1.747, allocations: 305.1 kB / 0.7306 GB, free: 61.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005183/1.752, allocations: 3.967 MB / 0.7345 GB, free: 57.62 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007919/1.76, allocations: 8.582 MB / 0.7428 GB, free: 46.82 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.774, allocations: 13.48 MB / 0.756 GB, free: 31.13 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/1.774, allocations: 48 kB / 0.7561 GB, free: 31.08 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03495/1.809, allocations: 17.14 MB / 0.7728 GB, free: 13.89 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002965/1.81, allocations: 72 kB / 0.7729 GB, free: 13.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/1.81, allocations: 160 kB / 0.773 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01721/1.827, allocations: 5.772 MB / 0.7786 GB, free: 7.875 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005804/1.833, allocations: 1.747 MB / 0.7804 GB, free: 6.125 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05001/1.883, allocations: 31.67 MB / 0.8113 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008504/1.891, allocations: 0.5228 MB / 0.8118 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/1.893, allocations: 471.8 kB / 0.8122 GB, free: 5.055 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * 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 (934): * Single equations (assignments): 928 * 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,93,51.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.007689/1.901, allocations: 3.469 MB / 0.8156 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/1.903, allocations: 0.6868 MB / 0.8163 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03048/1.933, allocations: 11.43 MB / 0.8275 GB, free: 5.523 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.647e-05/1.933, allocations: 32 kB / 0.8275 GB, free: 5.492 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.082e-05/1.933, allocations: 23.75 kB / 0.8275 GB, free: 5.473 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.591e-05/1.933, allocations: 15.94 kB / 0.8275 GB, free: 5.457 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3214/2.255, allocations: 24.66 MB / 0.8516 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-05/2.255, allocations: 10.81 kB / 0.8516 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/2.257, allocations: 421.8 kB / 0.852 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01878/2.276, allocations: 5.372 MB / 0.8573 GB, free: 181.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00079/2.277, allocations: 60.47 kB / 0.8573 GB, free: 181.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03586/2.313, allocations: 30.35 MB / 0.887 GB, free: 167.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/2.313, allocations: 17.38 kB / 0.887 GB, free: 167.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02769/2.34, allocations: 16.44 MB / 0.9031 GB, free: 153.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/2.342, allocations: 0.7155 MB / 0.9038 GB, free: 152.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/2.344, allocations: 60 kB / 0.9038 GB, free: 152.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/2.348, allocations: 263.6 kB / 0.9041 GB, free: 152.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.349, allocations: 246.5 kB / 0.9043 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/2.349, allocations: 89 kB / 0.9044 GB, free: 152.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007014/2.356, allocations: 4.616 MB / 0.9089 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9.1e-08/2.356, allocations: 0 / 0.9089 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008442/2.364, allocations: 1.954 MB / 0.9108 GB, free: 145.6 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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,87,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.02752/2.392, allocations: 17.16 MB / 0.9276 GB, free: 128.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01546/2.407, allocations: 10.09 MB / 0.9374 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.407, allocations: 0 / 0.9374 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007178/2.415, allocations: 4.369 MB / 0.9417 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007648/2.422, allocations: 1.087 MB / 0.9427 GB, free: 113 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1485/2.571, allocations: 91.47 MB / 1.032 GB, free: 14.26 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2685/2.839, allocations: 5.519 MB / 1.037 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009691/2.849, allocations: 2.626 MB / 1.04 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007827/2.857, allocations: 3.735 MB / 1.044 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.453e-06/2.857, allocations: 0 / 1.044 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2637/3.12, allocations: 158.5 MB / 1.198 GB, free: 55.94 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.02/44.14, allocations: 3.75 kB / 1.198 GB, free: 55.94 MB / 0.5607 GB " [Timeout remaining time 616] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 46.99761559801118]