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.0009325/0.0009325, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008515/0.0008515, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8707/0.8707, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.878e-05, allocations: 3.266 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01262/0.01264, allocations: 17.67 MB / 342.2 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.02317, allocations: 6.008 MB / 348.2 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.0258, allocations: 206.8 kB / 348.4 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006049/0.03185, allocations: 6.487 MB / 354.9 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006254/0.0381, allocations: 3.615 MB / 358.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.04089, allocations: 1.891 MB / 360.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.05245, allocations: 15.09 MB / 375.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006164/0.05862, allocations: 7.802 MB / 383.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005369/0.06399, allocations: 5.789 MB / 389.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.06883, allocations: 5.819 MB / 394.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000844/0.06967, allocations: 0.7773 MB / 395.7 MB, free: 8.422 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.07176, allocations: 1.693 MB / 397.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.07486, allocations: 4.793 MB / 402.2 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002755/0.07761, allocations: 3.171 MB / 405.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.08916, allocations: 15.22 MB / 420.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.08917, allocations: 0 / 420.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.08917, allocations: 4 kB / 420.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002612/0.08943, allocations: 0 / 420.6 MB, free: 15.47 MB / 394.7 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.01766/0.1071, allocations: 11.17 MB / 431.8 MB, free: 4.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1071, allocations: 11.98 kB / 431.8 MB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.1083, allocations: 1.197 MB / 433 MB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4171/0.5254, allocations: 25.54 MB / 458.5 MB, free: 107.9 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.5378, allocations: 8.235 MB / 466.7 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.538, allocations: 446.5 kB / 467.2 MB, free: 102 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.5399, allocations: 0.6254 MB / 467.8 MB, free: 101.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.5613, allocations: 17.06 MB / 484.9 MB, free: 83.37 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/0.5616, allocations: 103.3 kB / 485 MB, free: 83.27 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006469/0.5622, allocations: 284.9 kB / 485.2 MB, free: 83.04 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.5645, allocations: 2.853 MB / 488.1 MB, free: 80.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.5826, allocations: 13.26 MB / 0.4896 GB, free: 66.95 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.06042/0.643, allocations: 64.65 MB / 0.5527 GB, free: 1.391 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.6554, allocations: 7.469 MB / 0.56 GB, free: 9.922 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004163/0.6596, allocations: 4.06 MB / 0.564 GB, free: 5.855 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0149/0.6745, allocations: 10.96 MB / 0.5747 GB, free: 11.02 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.6745, allocations: 64.56 kB / 0.5748 GB, free: 10.95 MB / 442.8 MB Notification: Performance of pre-optimization done (n=293): time 5.851e-06/0.6745, allocations: 0 / 0.5748 GB, free: 10.95 MB / 442.8 MB Notification: Performance of matching and sorting (n=359): time 0.2785/0.953, allocations: 52.39 MB / 0.6259 GB, free: 156.5 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.9531, allocations: 396.3 kB / 0.6263 GB, free: 156.1 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/0.9632, allocations: 8.661 MB / 0.6348 GB, free: 153.4 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008479/0.964, allocations: 76.52 kB / 0.6348 GB, free: 153.3 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/0.9664, allocations: 5.484 MB / 0.6402 GB, free: 149.7 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00145/0.9678, allocations: 1.359 MB / 0.6415 GB, free: 148.7 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.9697, allocations: 1.685 MB / 0.6432 GB, free: 147.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.9697, allocations: 310.5 kB / 0.6435 GB, free: 147.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.9734, allocations: 4.121 MB / 0.6475 GB, free: 146.1 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004856/0.9783, allocations: 9.084 MB / 0.6563 GB, free: 136.4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00935/0.9876, allocations: 13.96 MB / 0.67 GB, free: 120.3 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.93e-05/0.9877, allocations: 44 kB / 0.67 GB, free: 120.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02084/1.009, allocations: 17.83 MB / 0.6874 GB, free: 102.4 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/1.009, allocations: 72 kB / 0.6875 GB, free: 102.3 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/1.009, allocations: 164 kB / 0.6877 GB, free: 102.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009541/1.018, allocations: 6.036 MB / 0.6936 GB, free: 96.14 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/1.022, allocations: 1.829 MB / 0.6953 GB, free: 94.3 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0248/1.047, allocations: 32.34 MB / 0.7269 GB, free: 61.64 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006652/1.054, allocations: 0.6476 MB / 0.7276 GB, free: 61 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.055, allocations: 484 kB / 0.728 GB, free: 60.52 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * 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 (967): * Single equations (assignments): 961 * 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,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.005339/1.06, allocations: 3.581 MB / 0.7315 GB, free: 56.93 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001866/1.062, allocations: 0.7101 MB / 0.7322 GB, free: 56.21 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/1.076, allocations: 12.02 MB / 0.7439 GB, free: 44.13 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/1.076, allocations: 40 kB / 0.744 GB, free: 44.09 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/1.076, allocations: 16 kB / 0.744 GB, free: 44.08 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.113e-05/1.076, allocations: 19.94 kB / 0.744 GB, free: 44.06 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03063/1.106, allocations: 25.03 MB / 0.7685 GB, free: 18.63 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/1.106, allocations: 8 kB / 0.7685 GB, free: 18.62 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.108, allocations: 467.3 kB / 0.7689 GB, free: 18.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008958/1.117, allocations: 5.696 MB / 0.7745 GB, free: 12.45 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004533/1.117, allocations: 67.98 kB / 0.7745 GB, free: 12.39 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.185/1.302, allocations: 31.14 MB / 0.805 GB, free: 152.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.302, allocations: 7.875 kB / 0.805 GB, free: 152.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.322, allocations: 17.34 MB / 0.8219 GB, free: 146.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/1.325, allocations: 0.7907 MB / 0.8227 GB, free: 146.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002221/1.327, allocations: 68.73 kB / 0.8227 GB, free: 146.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004105/1.331, allocations: 375.4 kB / 0.8231 GB, free: 146.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/1.333, allocations: 282.9 kB / 0.8234 GB, free: 146.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/1.333, allocations: 90.62 kB / 0.8235 GB, free: 146.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.006696/1.34, allocations: 5.549 MB / 0.8289 GB, free: 142.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.41e-07/1.34, allocations: 0 / 0.8289 GB, free: 142.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007911/1.348, allocations: 2.352 MB / 0.8312 GB, free: 140.1 MB / 490.8 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.01968/1.367, allocations: 18.07 MB / 0.8488 GB, free: 122.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01121/1.378, allocations: 10.49 MB / 0.8591 GB, free: 112.3 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/1.378, allocations: 0 / 0.8591 GB, free: 112.3 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00523/1.384, allocations: 4.61 MB / 0.8636 GB, free: 107.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/1.389, allocations: 1.117 MB / 0.8647 GB, free: 106.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1275/1.517, allocations: 98.77 MB / 0.9611 GB, free: 252 kB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005899/1.523, allocations: 5.262 MB / 0.9663 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.17/1.693, allocations: 2.75 MB / 0.9689 GB, free: 169.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004762/1.697, allocations: 3.924 MB / 0.9728 GB, free: 169.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.552e-06/1.697, allocations: 3.734 kB / 0.9728 GB, free: 169.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/1.873, allocations: 174.1 MB / 1.143 GB, free: 17.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/16.96, allocations: 11.23 kB / 1.143 GB, free: 17.29 MB / 0.4949 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 9.94431e-05 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.csv","/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: 19.049138460308313]