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.0009653/0.0009653, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001566/0.001566, allocations: 174 kB / 23.95 MB, free: 0.6055 MB / 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 0.9003/0.9003, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.183e-06/1.183e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.483e-05, allocations: 6.219 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.0118/0.01182, allocations: 16.74 MB / 341.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009154/0.02097, allocations: 5.806 MB / 347.1 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.02293, allocations: 190.9 kB / 347.3 MB, free: 8.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005352/0.02828, allocations: 5.977 MB / 353.3 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.03291, allocations: 3.515 MB / 356.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.03471, allocations: 1.786 MB / 358.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009812/0.04453, allocations: 14.8 MB / 373.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005751/0.05028, allocations: 7.467 MB / 380.9 MB, free: 7.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005965/0.05624, allocations: 5.547 MB / 386.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004609/0.06085, allocations: 5.624 MB / 392.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000747/0.0616, allocations: 0.7422 MB / 392.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.06338, allocations: 1.658 MB / 394.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002642/0.06602, allocations: 4.602 MB / 399.1 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002095/0.06812, allocations: 3.058 MB / 402.1 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009035/0.07715, allocations: 14.69 MB / 416.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.07716, allocations: 0 / 416.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.07716, allocations: 3.938 kB / 416.8 MB, free: 3.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000128/0.07729, allocations: 0 / 416.8 MB, free: 3.234 MB / 378.7 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.01438/0.09167, allocations: 10.81 MB / 427.6 MB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.09171, allocations: 12.03 kB / 427.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001006/0.09272, allocations: 1.144 MB / 428.8 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4057/0.4984, allocations: 25.5 MB / 454.3 MB, free: 108.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.5105, allocations: 8.054 MB / 462.3 MB, free: 106 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.5107, allocations: 428.8 kB / 462.7 MB, free: 105.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.5117, allocations: 0.5848 MB / 463.3 MB, free: 105.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.5265, allocations: 16.45 MB / 479.8 MB, free: 89 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.5267, allocations: 107.2 kB / 479.9 MB, free: 88.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004053/0.5271, allocations: 268.9 kB / 480.1 MB, free: 88.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002036/0.5291, allocations: 2.762 MB / 482.9 MB, free: 85.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.5425, allocations: 12.84 MB / 495.8 MB, free: 73.09 MB / 410.8 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.0446/0.5871, allocations: 62.86 MB / 0.5455 GB, free: 9.344 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009699/0.5968, allocations: 7.15 MB / 0.5525 GB, free: 2.191 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/0.5998, allocations: 3.949 MB / 0.5564 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.6111, allocations: 10.64 MB / 0.5667 GB, free: 3.715 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.6111, allocations: 64.56 kB / 0.5668 GB, free: 3.645 MB / 426.8 MB Notification: Performance of pre-optimization done (n=280): time 4.679e-06/0.6111, allocations: 0 / 0.5668 GB, free: 3.645 MB / 426.8 MB Notification: Performance of matching and sorting (n=339): time 0.09561/0.7068, allocations: 49.79 MB / 0.6154 GB, free: 2.25 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.7069, allocations: 402.1 kB / 0.6158 GB, free: 1.77 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1645/0.8713, allocations: 8.497 MB / 0.6241 GB, free: 158.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007372/0.8721, allocations: 73.05 kB / 0.6242 GB, free: 158.4 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.8738, allocations: 5.311 MB / 0.6294 GB, free: 155.9 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008372/0.8747, allocations: 1.285 MB / 0.6306 GB, free: 155 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/0.876, allocations: 1.633 MB / 0.6322 GB, free: 154.2 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.883e-05/0.876, allocations: 305 kB / 0.6325 GB, free: 153.9 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003218/0.8792, allocations: 3.957 MB / 0.6364 GB, free: 152.4 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004099/0.8833, allocations: 8.814 MB / 0.645 GB, free: 144.6 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008151/0.8915, allocations: 13.48 MB / 0.6582 GB, free: 131.4 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.729e-05/0.8915, allocations: 47.94 kB / 0.6582 GB, free: 131.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.01681/0.9083, allocations: 17.15 MB / 0.6749 GB, free: 116.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.9084, allocations: 72 kB / 0.675 GB, free: 116.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.034e-05/0.9085, allocations: 160 kB / 0.6752 GB, free: 115.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00846/0.9169, allocations: 5.762 MB / 0.6808 GB, free: 110.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.9195, allocations: 1.747 MB / 0.6825 GB, free: 108.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/0.942, allocations: 31.1 MB / 0.7129 GB, free: 77 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005506/0.9475, allocations: 0.6436 MB / 0.7135 GB, free: 76.36 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004473/0.9479, allocations: 468 kB / 0.7139 GB, free: 75.9 MB / 474.8 MB 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.004109/0.9521, allocations: 3.466 MB / 0.7173 GB, free: 72.42 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000779/0.9528, allocations: 0.683 MB / 0.718 GB, free: 71.73 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.9652, allocations: 11.4 MB / 0.7291 GB, free: 60.27 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.9653, allocations: 36 kB / 0.7292 GB, free: 60.23 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/0.9653, allocations: 16 kB / 0.7292 GB, free: 60.21 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.9653, allocations: 23.94 kB / 0.7292 GB, free: 60.19 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/0.9885, allocations: 23.84 MB / 0.7525 GB, free: 35.91 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.9885, allocations: 4 kB / 0.7525 GB, free: 35.91 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008988/0.9894, allocations: 427.3 kB / 0.7529 GB, free: 35.49 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007977/0.9974, allocations: 5.363 MB / 0.7581 GB, free: 30.12 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.9976, allocations: 67.98 kB / 0.7582 GB, free: 30.05 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0249/1.023, allocations: 29.82 MB / 0.7873 GB, free: 15.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.023, allocations: 8.609 kB / 0.7873 GB, free: 15.9 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.175/1.198, allocations: 16.44 MB / 0.8034 GB, free: 156.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/1.2, allocations: 0.7691 MB / 0.8041 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005989/1.2, allocations: 72.61 kB / 0.8042 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.202, allocations: 362.1 kB / 0.8045 GB, free: 156.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005925/1.203, allocations: 253.5 kB / 0.8048 GB, free: 156.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.203, allocations: 93.34 kB / 0.8049 GB, free: 156.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005004/1.208, allocations: 5.447 MB / 0.8102 GB, free: 154.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.11e-07/1.208, allocations: 0 / 0.8102 GB, free: 154.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00487/1.213, allocations: 2.271 MB / 0.8124 GB, free: 154.3 MB / 490.8 MB 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.01639/1.229, allocations: 17.16 MB / 0.8292 GB, free: 143.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00988/1.239, allocations: 10.09 MB / 0.839 GB, free: 134.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.239, allocations: 7.938 kB / 0.839 GB, free: 134.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003939/1.243, allocations: 4.364 MB / 0.8433 GB, free: 129.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.247, allocations: 1.086 MB / 0.8443 GB, free: 128.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08345/1.331, allocations: 95.31 MB / 0.9374 GB, free: 26.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/1.334, allocations: 5.063 MB / 0.9424 GB, free: 21.17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00345/1.337, allocations: 2.657 MB / 0.945 GB, free: 18.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00247/1.34, allocations: 3.783 MB / 0.9486 GB, free: 14.72 MB / 490.8 MB Notification: Performance of SimCode: time 2.535e-06/1.34, allocations: 0 / 0.9486 GB, free: 14.72 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3112/1.651, allocations: 167 MB / 1.112 GB, free: 43.68 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.44, allocations: 8.047 kB / 1.112 GB, free: 43.67 MB / 0.4949 GB " [Timeout remaining time 643] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/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: 18.361634875647724]