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.001287/0.001287, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001544/0.001544, allocations: 214 kB / 23.74 MB, free: 4.66 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 8 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.001952/0.001952, allocations: 71.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2461, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02405/0.2702, allocations: 20.54 MB / 451.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.2838, allocations: 6.25 MB / 458 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.2871, allocations: 206.8 kB / 458.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01255/0.2997, allocations: 6.429 MB / 464.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009446/0.3091, allocations: 3.502 MB / 468.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.3132, allocations: 1.666 MB / 469.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.3321, allocations: 13 MB / 482.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009486/0.3415, allocations: 6.29 MB / 489.1 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007541/0.3491, allocations: 3.809 MB / 492.9 MB, free: 8.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009323/0.3584, allocations: 5.363 MB / 498.3 MB, free: 3.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002673/0.3611, allocations: 0.7461 MB / 499 MB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005286/0.3664, allocations: 1.729 MB / 0.489 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006608/0.373, allocations: 4.546 MB / 0.4935 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008583/0.3816, allocations: 4.935 MB / 0.4983 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02034/0.4019, allocations: 14.87 MB / 0.5128 GB, free: 8.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4019, allocations: 0 / 0.5128 GB, free: 8.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4019, allocations: 0 / 0.5128 GB, free: 8.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004437/0.4023, allocations: 4 kB / 0.5128 GB, free: 8.449 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.03171/0.4341, allocations: 10.85 MB / 0.5234 GB, free: 13.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4341, allocations: 12.03 kB / 0.5234 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00313/0.4372, allocations: 1.193 MB / 0.5246 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6356/1.073, allocations: 24.34 MB / 0.5483 GB, free: 92.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/1.091, allocations: 9.227 MB / 0.5573 GB, free: 84.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/1.091, allocations: 450.5 kB / 0.5578 GB, free: 84.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/1.093, allocations: 0.6078 MB / 0.5584 GB, free: 83.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/1.118, allocations: 16.74 MB / 0.5747 GB, free: 66.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002611/1.118, allocations: 95.3 kB / 0.5748 GB, free: 66.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007625/1.119, allocations: 280.8 kB / 0.5751 GB, free: 65.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003241/1.122, allocations: 2.854 MB / 0.5779 GB, free: 63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02126/1.144, allocations: 13.28 MB / 0.5908 GB, free: 49.73 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.07276/1.217, allocations: 68.18 MB / 0.6574 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/1.237, allocations: 7.183 MB / 0.6644 GB, free: 4.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006009/1.243, allocations: 4.055 MB / 0.6684 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02079/1.264, allocations: 11.38 MB / 0.6795 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.406e-05/1.264, allocations: 68.55 kB / 0.6796 GB, free: 5.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 5.07e-06/1.264, allocations: 4 kB / 0.6796 GB, free: 5.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.1902/1.454, allocations: 50.02 MB / 0.7284 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002604/1.454, allocations: 398.2 kB / 0.7288 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/1.467, allocations: 7.324 MB / 0.736 GB, free: 11.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008959/1.467, allocations: 77.7 kB / 0.736 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005357/1.473, allocations: 5.527 MB / 0.7414 GB, free: 5.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/1.475, allocations: 1.372 MB / 0.7428 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003091/1.478, allocations: 1.703 MB / 0.7444 GB, free: 2.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.478, allocations: 301.1 kB / 0.7447 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2141/1.692, allocations: 4.12 MB / 0.7487 GB, free: 186.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008781/1.701, allocations: 8.868 MB / 0.7574 GB, free: 179.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/1.715, allocations: 13.95 MB / 0.771 GB, free: 169.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/1.715, allocations: 49.09 kB / 0.7711 GB, free: 169.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03472/1.75, allocations: 17.83 MB / 0.7885 GB, free: 163.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.75, allocations: 75.81 kB / 0.7886 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/1.75, allocations: 165 kB / 0.7887 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01696/1.767, allocations: 6.047 MB / 0.7946 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005674/1.773, allocations: 1.835 MB / 0.7964 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03657/1.809, allocations: 32.59 MB / 0.8282 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00749/1.817, allocations: 0.5479 MB / 0.8288 GB, free: 124.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/1.818, allocations: 480 kB / 0.8292 GB, free: 124 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.004902/1.823, allocations: 3.582 MB / 0.8327 GB, free: 120.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.824, allocations: 0.7081 MB / 0.8334 GB, free: 120.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/1.846, allocations: 12.01 MB / 0.8451 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.194e-05/1.846, allocations: 36 kB / 0.8452 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/1.847, allocations: 24 kB / 0.8452 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.697e-05/1.847, allocations: 19.94 kB / 0.8452 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04386/1.89, allocations: 25.75 MB / 0.8704 GB, free: 81.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/1.89, allocations: 4.344 kB / 0.8704 GB, free: 81.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.893, allocations: 477.7 kB / 0.8708 GB, free: 81.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01612/1.909, allocations: 5.7 MB / 0.8764 GB, free: 75.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007362/1.91, allocations: 60 kB / 0.8764 GB, free: 75.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/1.945, allocations: 31.4 MB / 0.9071 GB, free: 44.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.945, allocations: 11.94 kB / 0.9071 GB, free: 44.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02774/1.972, allocations: 17.36 MB / 0.9241 GB, free: 26.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.974, allocations: 0.6541 MB / 0.9247 GB, free: 26.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/1.976, allocations: 67.91 kB / 0.9248 GB, free: 25.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/1.98, allocations: 284.4 kB / 0.925 GB, free: 25.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009122/1.98, allocations: 262.6 kB / 0.9253 GB, free: 25.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/1.981, allocations: 99.98 kB / 0.9254 GB, free: 25.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006653/1.987, allocations: 4.706 MB / 0.93 GB, free: 20.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/1.987, allocations: 0 / 0.93 GB, free: 20.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008805/1.996, allocations: 2.038 MB / 0.932 GB, free: 18.63 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.2373/2.233, allocations: 18.06 MB / 0.9496 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01839/2.252, allocations: 10.51 MB / 0.9599 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/2.252, allocations: 0 / 0.9599 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007745/2.26, allocations: 4.609 MB / 0.9644 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00613/2.266, allocations: 1.105 MB / 0.9655 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1403/2.406, allocations: 95.1 MB / 1.058 GB, free: 84.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00644/2.412, allocations: 5.729 MB / 1.064 GB, free: 79.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005681/2.418, allocations: 2.717 MB / 1.067 GB, free: 76.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004426/2.423, allocations: 3.877 MB / 1.07 GB, free: 72.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/2.423, allocations: 4 kB / 1.07 GB, free: 72.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4622/2.885, allocations: 169.5 MB / 1.236 GB, free: 130.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.52/46.4, allocations: 6.688 kB / 1.236 GB, free: 130.9 MB / 0.5607 GB " [Timeout remaining time 613] (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.17639412999779]