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.001692/0.001692, allocations: 128.4 kB / 17.8 MB, free: 5.262 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.001738/0.001738, allocations: 214.5 kB / 20.75 MB, free: 2.309 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.489/1.489, allocations: 230.4 MB / 254 MB, free: 15.01 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="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 0.001891/0.001891, allocations: 67.89 kB / 373 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09836, allocations: 53.37 MB / 426.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.2056/0.3039, allocations: 20.52 MB / 446.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.3196, allocations: 6.22 MB / 453.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/0.3242, allocations: 206.2 kB / 453.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.013/0.3372, allocations: 6.406 MB / 459.7 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.348, allocations: 3.493 MB / 463.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004466/0.3525, allocations: 1.658 MB / 464.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01905/0.3716, allocations: 12.96 MB / 477.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00965/0.3812, allocations: 6.765 MB / 484.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007578/0.3888, allocations: 3.809 MB / 488.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008721/0.3975, allocations: 5.344 MB / 493.8 MB, free: 12.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002488/0.4, allocations: 0.7461 MB / 494.5 MB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004885/0.4049, allocations: 1.744 MB / 496.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0064/0.4113, allocations: 4.539 MB / 0.4891 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009472/0.4208, allocations: 4.931 MB / 0.4939 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02161/0.4424, allocations: 14.86 MB / 0.5084 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4424, allocations: 0 / 0.5084 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4424, allocations: 4 kB / 0.5084 GB, free: 2.066 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004616/0.4428, allocations: 4 kB / 0.5084 GB, free: 2.062 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03142/0.4743, allocations: 10.93 MB / 0.5191 GB, free: 7.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4743, allocations: 12.03 kB / 0.5191 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003151/0.4775, allocations: 1.19 MB / 0.5202 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3052/0.7827, allocations: 24.34 MB / 0.544 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/0.8053, allocations: 9.354 MB / 0.5531 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/0.8057, allocations: 448 kB / 0.5536 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/0.8081, allocations: 0.6206 MB / 0.5542 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.035/0.8431, allocations: 16.74 MB / 0.5705 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000362/0.8435, allocations: 107.3 kB / 0.5706 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.8447, allocations: 271.8 kB / 0.5709 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005066/0.8498, allocations: 2.862 MB / 0.5737 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02965/0.8794, allocations: 13.27 MB / 0.5866 GB, free: 0.6367 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.4748/1.354, allocations: 68.11 MB / 0.6532 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02256/1.377, allocations: 7.636 MB / 0.6606 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006504/1.383, allocations: 4.043 MB / 0.6646 GB, free: 114.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/1.403, allocations: 12.07 MB / 0.6763 GB, free: 108.7 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/1.403, allocations: 70.98 kB / 0.6764 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=293): time 5.7e-06/1.403, allocations: 3.938 kB / 0.6764 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=359): time 0.1823/1.585, allocations: 50.17 MB / 0.7254 GB, free: 70.08 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/1.586, allocations: 401.6 kB / 0.7258 GB, free: 69.61 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008047/1.594, allocations: 7.312 MB / 0.7329 GB, free: 62.43 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007678/1.594, allocations: 81.3 kB / 0.733 GB, free: 62.34 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/1.597, allocations: 5.526 MB / 0.7384 GB, free: 57.41 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/1.598, allocations: 1.374 MB / 0.7397 GB, free: 56.05 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/1.6, allocations: 1.707 MB / 0.7414 GB, free: 54.33 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.855e-05/1.6, allocations: 309.1 kB / 0.7417 GB, free: 54.02 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/1.605, allocations: 4.124 MB / 0.7457 GB, free: 49.89 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006047/1.611, allocations: 8.863 MB / 0.7544 GB, free: 38.71 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.623, allocations: 13.94 MB / 0.768 GB, free: 22.45 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.424e-05/1.623, allocations: 44 kB / 0.768 GB, free: 22.41 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03387/1.657, allocations: 17.84 MB / 0.7855 GB, free: 4.52 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.657, allocations: 76 kB / 0.7855 GB, free: 4.445 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/1.658, allocations: 171.9 kB / 0.7857 GB, free: 4.277 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/1.676, allocations: 6.041 MB / 0.7916 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006544/1.683, allocations: 1.829 MB / 0.7934 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05478/1.738, allocations: 32.93 MB / 0.8256 GB, free: 11.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007392/1.745, allocations: 0.5423 MB / 0.8261 GB, free: 10.64 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.746, allocations: 480 kB / 0.8265 GB, free: 10.17 MB / 0.5607 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.007017/1.753, allocations: 3.588 MB / 0.83 GB, free: 6.574 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.755, allocations: 0.7063 MB / 0.8307 GB, free: 5.863 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2498/2.005, allocations: 12.01 MB / 0.8425 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/2.005, allocations: 36.72 kB / 0.8425 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.078e-05/2.005, allocations: 18.53 kB / 0.8425 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.479e-05/2.005, allocations: 21.91 kB / 0.8425 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05666/2.062, allocations: 25.79 MB / 0.8677 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.032e-05/2.062, allocations: 6.844 kB / 0.8677 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/2.064, allocations: 461.9 kB / 0.8682 GB, free: 178.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01775/2.082, allocations: 5.705 MB / 0.8737 GB, free: 177.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008021/2.083, allocations: 59.75 kB / 0.8738 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03825/2.121, allocations: 31.71 MB / 0.9048 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.121, allocations: 7.938 kB / 0.9048 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03044/2.152, allocations: 17.37 MB / 0.9217 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/2.154, allocations: 0.7211 MB / 0.9224 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001817/2.155, allocations: 67.94 kB / 0.9225 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004187/2.16, allocations: 283.6 kB / 0.9228 GB, free: 136.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/2.161, allocations: 252.7 kB / 0.923 GB, free: 136.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004546/2.161, allocations: 95.28 kB / 0.9231 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006435/2.168, allocations: 4.71 MB / 0.9277 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/2.168, allocations: 0 / 0.9277 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008311/2.176, allocations: 2.038 MB / 0.9297 GB, free: 129.4 MB / 0.5607 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.02889/2.205, allocations: 18.06 MB / 0.9473 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01556/2.22, allocations: 10.51 MB / 0.9576 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/2.22, allocations: 0 / 0.9576 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00775/2.228, allocations: 4.614 MB / 0.9621 GB, free: 96.19 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006223/2.234, allocations: 1.107 MB / 0.9632 GB, free: 95.15 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3805/2.615, allocations: 94.95 MB / 1.056 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/2.626, allocations: 5.729 MB / 1.061 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008921/2.635, allocations: 2.722 MB / 1.064 GB, free: 174.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00669/2.641, allocations: 3.872 MB / 1.068 GB, free: 173 MB / 0.5607 GB Notification: Performance of SimCode: time 1.143e-06/2.641, allocations: 0 / 1.068 GB, free: 173 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2196/2.861, allocations: 165.5 MB / 1.23 GB, free: 27.86 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.37/46.23, allocations: 19.7 kB / 1.23 GB, free: 27.84 MB / 0.5607 GB " [Timeout remaining time 614] (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/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 49.080617942032404]