Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001795/0.001795, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002562/0.002562, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.503/1.503, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 68.09 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1168, allocations: 53.37 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02168/0.1385, allocations: 19.45 MB / 445.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2576/0.3961, allocations: 6.001 MB / 451.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.4002, allocations: 191.2 kB / 452 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.4125, allocations: 5.91 MB / 457.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.4242, allocations: 3.395 MB / 461.3 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.4285, allocations: 1.572 MB / 462.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0182/0.4467, allocations: 12.67 MB / 475.6 MB, free: 212 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009576/0.4562, allocations: 6.42 MB / 482 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008209/0.4644, allocations: 3.624 MB / 485.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.4748, allocations: 5.121 MB / 490.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003433/0.4782, allocations: 0.7226 MB / 491.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005777/0.484, allocations: 1.705 MB / 493.2 MB, free: 5.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007089/0.4911, allocations: 4.345 MB / 497.5 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01168/0.5028, allocations: 4.745 MB / 0.4905 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02534/0.5281, allocations: 14.35 MB / 0.5045 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.5281, allocations: 0 / 0.5045 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5281, allocations: 0 / 0.5045 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006075/0.5287, allocations: 0 / 0.5045 GB, free: 13.98 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.03967/0.5684, allocations: 10.58 MB / 0.5148 GB, free: 3.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.5685, allocations: 8.031 kB / 0.5148 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003638/0.5721, allocations: 1.14 MB / 0.5159 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3093/0.8814, allocations: 24.3 MB / 0.5397 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02204/0.9035, allocations: 9.164 MB / 0.5486 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004593/0.9039, allocations: 425.3 kB / 0.549 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002524/0.9064, allocations: 0.5913 MB / 0.5496 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/0.9438, allocations: 16.17 MB / 0.5654 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005536/0.9443, allocations: 103.3 kB / 0.5655 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/0.9466, allocations: 263.9 kB / 0.5657 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005139/0.9517, allocations: 2.767 MB / 0.5684 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/0.9811, allocations: 12.86 MB / 0.581 GB, free: 14.95 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.5304/1.511, allocations: 66.23 MB / 0.6457 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02/1.531, allocations: 7.348 MB / 0.6528 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005138/1.537, allocations: 3.92 MB / 0.6567 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01875/1.555, allocations: 11.7 MB / 0.6681 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/1.555, allocations: 67.7 kB / 0.6682 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=280): time 5.821e-06/1.555, allocations: 0 / 0.6682 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339): time 0.1653/1.721, allocations: 47.75 MB / 0.7148 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.721, allocations: 397.5 kB / 0.7152 GB, free: 123 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.731, allocations: 7.163 MB / 0.7222 GB, free: 116 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000931/1.732, allocations: 77.7 kB / 0.7222 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003412/1.735, allocations: 5.348 MB / 0.7275 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002118/1.737, allocations: 1.299 MB / 0.7287 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002882/1.74, allocations: 1.655 MB / 0.7303 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/1.74, allocations: 305.1 kB / 0.7306 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004632/1.745, allocations: 3.959 MB / 0.7345 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006176/1.751, allocations: 8.586 MB / 0.7429 GB, free: 93.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.764, allocations: 13.48 MB / 0.7561 GB, free: 77.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.764, allocations: 44 kB / 0.7561 GB, free: 77.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03417/1.798, allocations: 17.15 MB / 0.7728 GB, free: 60.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002/1.798, allocations: 72 kB / 0.7729 GB, free: 60.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002523/1.799, allocations: 160.8 kB / 0.7731 GB, free: 60.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/1.815, allocations: 5.768 MB / 0.7787 GB, free: 54.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005401/1.821, allocations: 1.747 MB / 0.7804 GB, free: 52.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03637/1.857, allocations: 31.68 MB / 0.8113 GB, free: 20.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007418/1.864, allocations: 0.5228 MB / 0.8119 GB, free: 19.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/1.866, allocations: 479.3 kB / 0.8123 GB, free: 19.39 MB / 0.5294 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.005886/1.872, allocations: 3.449 MB / 0.8157 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/1.874, allocations: 0.6938 MB / 0.8164 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02414/1.898, allocations: 11.4 MB / 0.8275 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.742e-05/1.898, allocations: 39.94 kB / 0.8275 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/1.898, allocations: 16 kB / 0.8275 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.385e-05/1.898, allocations: 19.94 kB / 0.8276 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2814/2.179, allocations: 24.67 MB / 0.8517 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.674e-05/2.179, allocations: 7.938 kB / 0.8517 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/2.181, allocations: 418 kB / 0.8521 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01781/2.199, allocations: 5.371 MB / 0.8573 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008093/2.2, allocations: 65.36 kB / 0.8574 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03724/2.237, allocations: 30.35 MB / 0.887 GB, free: 151 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/2.237, allocations: 8.812 kB / 0.887 GB, free: 151 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02771/2.265, allocations: 16.44 MB / 0.9031 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/2.267, allocations: 0.716 MB / 0.9038 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/2.268, allocations: 67.58 kB / 0.9038 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003753/2.272, allocations: 258.2 kB / 0.9041 GB, free: 143.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/2.273, allocations: 246.3 kB / 0.9043 GB, free: 143.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/2.273, allocations: 89.2 kB / 0.9044 GB, free: 143.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006623/2.28, allocations: 4.621 MB / 0.9089 GB, free: 141.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/2.28, allocations: 3.062 kB / 0.9089 GB, free: 141.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008445/2.288, allocations: 1.946 MB / 0.9108 GB, free: 139.3 MB / 0.545 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.0274/2.316, allocations: 17.16 MB / 0.9276 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01636/2.332, allocations: 10.09 MB / 0.9374 GB, free: 112.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.332, allocations: 4 kB / 0.9374 GB, free: 112.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008561/2.341, allocations: 4.367 MB / 0.9417 GB, free: 107.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007826/2.349, allocations: 1.089 MB / 0.9428 GB, free: 106.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1493/2.498, allocations: 91.47 MB / 1.032 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009904/2.508, allocations: 5.53 MB / 1.037 GB, free: 2.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008617/2.516, allocations: 2.622 MB / 1.04 GB, free: 15.97 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007867/2.524, allocations: 3.737 MB / 1.044 GB, free: 12.23 MB / 0.5607 GB Notification: Performance of SimCode: time 1.373e-06/2.524, allocations: 0 / 1.044 GB, free: 12.23 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5049/3.029, allocations: 158.4 MB / 1.198 GB, free: 64.28 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.84/43.87, allocations: 12 kB / 1.198 GB, free: 64.27 MB / 0.5607 GB " [Timeout remaining time 616] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.73854338203091]