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.001503/0.001503, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001685/0.001685, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 63.91 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2243, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02247/0.2468, allocations: 20.54 MB / 452.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.2597, allocations: 6.25 MB / 458.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.263, allocations: 202.8 kB / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.275, allocations: 6.433 MB / 465.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00865/0.2837, allocations: 3.506 MB / 468.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.2875, allocations: 1.665 MB / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01787/0.3053, allocations: 13 MB / 483.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00904/0.3144, allocations: 6.29 MB / 489.9 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006797/0.3212, allocations: 3.809 MB / 493.7 MB, free: 8.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008446/0.3296, allocations: 5.355 MB / 499.1 MB, free: 3.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002301/0.3319, allocations: 0.7461 MB / 499.8 MB, free: 2.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004624/0.3366, allocations: 1.736 MB / 0.4898 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006243/0.3428, allocations: 4.543 MB / 0.4942 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009693/0.3525, allocations: 4.939 MB / 0.499 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02033/0.3728, allocations: 14.86 MB / 0.5136 GB, free: 8.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3728, allocations: 0 / 0.5136 GB, free: 8.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3728, allocations: 0 / 0.5136 GB, free: 8.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003836/0.3732, allocations: 0 / 0.5136 GB, free: 8.438 MB / 430.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.03027/0.4035, allocations: 10.87 MB / 0.5242 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4035, allocations: 12.03 kB / 0.5242 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002172/0.4037, allocations: 184 kB / 0.5244 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002451/0.4062, allocations: 1.193 MB / 0.5255 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6311/1.037, allocations: 24.34 MB / 0.5493 GB, free: 91.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.057, allocations: 9.22 MB / 0.5583 GB, free: 84.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/1.058, allocations: 448.8 kB / 0.5587 GB, free: 83.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/1.059, allocations: 0.6088 MB / 0.5593 GB, free: 83.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/1.085, allocations: 16.75 MB / 0.5757 GB, free: 65.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/1.085, allocations: 99.3 kB / 0.5758 GB, free: 65.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006454/1.086, allocations: 277.4 kB / 0.576 GB, free: 65.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003423/1.089, allocations: 2.858 MB / 0.5788 GB, free: 62.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/1.11, allocations: 13.26 MB / 0.5918 GB, free: 49.35 MB / 446.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.07232/1.183, allocations: 68.18 MB / 0.6584 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02098/1.204, allocations: 7.193 MB / 0.6654 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005975/1.21, allocations: 4.055 MB / 0.6693 GB, free: 124 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0206/1.23, allocations: 11.38 MB / 0.6805 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.965e-05/1.23, allocations: 64.56 kB / 0.6805 GB, free: 4.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 5.39e-06/1.23, allocations: 0 / 0.6805 GB, free: 4.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.187/1.417, allocations: 50.02 MB / 0.7294 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002538/1.418, allocations: 402.2 kB / 0.7298 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/1.429, allocations: 7.32 MB / 0.7369 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007982/1.43, allocations: 77.7 kB / 0.737 GB, free: 11.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004818/1.435, allocations: 5.527 MB / 0.7424 GB, free: 5.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001945/1.437, allocations: 1.376 MB / 0.7437 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00287/1.44, allocations: 1.703 MB / 0.7454 GB, free: 2.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.44, allocations: 301.1 kB / 0.7457 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1985/1.638, allocations: 4.128 MB / 0.7497 GB, free: 187.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008174/1.647, allocations: 8.856 MB / 0.7583 GB, free: 180.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/1.659, allocations: 13.95 MB / 0.772 GB, free: 170.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/1.659, allocations: 46.09 kB / 0.772 GB, free: 170.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03027/1.69, allocations: 17.84 MB / 0.7894 GB, free: 164.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.022e-05/1.69, allocations: 74.62 kB / 0.7895 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/1.69, allocations: 167.9 kB / 0.7897 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01594/1.706, allocations: 6.04 MB / 0.7956 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/1.711, allocations: 1.832 MB / 0.7973 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03544/1.746, allocations: 32.6 MB / 0.8292 GB, free: 124.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007878/1.754, allocations: 0.5358 MB / 0.8297 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/1.756, allocations: 484 kB / 0.8302 GB, free: 123.7 MB / 0.545 GB 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.006178/1.762, allocations: 3.591 MB / 0.8337 GB, free: 120.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.763, allocations: 0.7081 MB / 0.8344 GB, free: 119.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/1.786, allocations: 12.01 MB / 0.8461 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.477e-05/1.786, allocations: 39.98 kB / 0.8461 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/1.786, allocations: 16 kB / 0.8461 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.606e-05/1.786, allocations: 19.94 kB / 0.8462 GB, free: 107.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0432/1.829, allocations: 25.75 MB / 0.8713 GB, free: 81.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/1.829, allocations: 4.25 kB / 0.8713 GB, free: 81.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/1.831, allocations: 472 kB / 0.8718 GB, free: 81.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01618/1.847, allocations: 5.704 MB / 0.8773 GB, free: 75.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007675/1.848, allocations: 64 kB / 0.8774 GB, free: 75.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03439/1.883, allocations: 31.39 MB / 0.908 GB, free: 43.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.883, allocations: 15.94 kB / 0.9081 GB, free: 43.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02813/1.911, allocations: 17.37 MB / 0.925 GB, free: 26.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/1.913, allocations: 0.6588 MB / 0.9257 GB, free: 25.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/1.915, allocations: 64 kB / 0.9257 GB, free: 25.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/1.919, allocations: 275.6 kB / 0.926 GB, free: 25.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.92, allocations: 266.7 kB / 0.9262 GB, free: 25.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/1.92, allocations: 92 kB / 0.9263 GB, free: 25.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007234/1.928, allocations: 4.706 MB / 0.9309 GB, free: 20.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.928, allocations: 0 / 0.9309 GB, free: 20.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009711/1.937, allocations: 2.049 MB / 0.9329 GB, free: 18.35 MB / 0.545 GB 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.2412/2.179, allocations: 18.06 MB / 0.9506 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01644/2.195, allocations: 10.5 MB / 0.9608 GB, free: 170.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.195, allocations: 3.938 kB / 0.9608 GB, free: 170.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007205/2.202, allocations: 4.598 MB / 0.9653 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005509/2.208, allocations: 1.113 MB / 0.9664 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.124/2.332, allocations: 95.1 MB / 1.059 GB, free: 84.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005425/2.337, allocations: 5.725 MB / 1.065 GB, free: 78.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005052/2.342, allocations: 2.713 MB / 1.068 GB, free: 76.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003454/2.346, allocations: 3.877 MB / 1.071 GB, free: 72.16 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/2.346, allocations: 0 / 1.071 GB, free: 72.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4648/2.81, allocations: 169.5 MB / 1.237 GB, free: 130.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.52/44.33, allocations: 7.812 kB / 1.237 GB, free: 130.2 MB / 0.5607 GB " [Timeout remaining time 615] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_fmu --startTime=0 --stopTime=0.5 --stepSize=9.94431e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 50.343863371992484]