Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001155/0.001155, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001167/0.001167, allocations: 222.3 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.275/1.275, allocations: 230.5 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 67.89 kB / 376.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2118, allocations: 53.32 MB / 429.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.0202/0.232, allocations: 20.55 MB / 450 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.2435, allocations: 6.242 MB / 456.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.2455, allocations: 163.4 kB / 456.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.2559, allocations: 6.436 MB / 462.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007653/0.2636, allocations: 3.494 MB / 466.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.2668, allocations: 1.654 MB / 468 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01711/0.2839, allocations: 12.95 MB / 480.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007235/0.2912, allocations: 5.772 MB / 486.7 MB, free: 13.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005883/0.297, allocations: 3.766 MB / 490.5 MB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007819/0.3049, allocations: 5.348 MB / 495.8 MB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001955/0.3068, allocations: 0.7461 MB / 496.6 MB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.3103, allocations: 1.74 MB / 498.3 MB, free: 2.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004512/0.3149, allocations: 4.535 MB / 0.491 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006579/0.3214, allocations: 4.946 MB / 0.4959 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01596/0.3374, allocations: 14.86 MB / 0.5104 GB, free: 9.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3374, allocations: 4 kB / 0.5104 GB, free: 9.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3374, allocations: 0 / 0.5104 GB, free: 9.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003703/0.3378, allocations: 3.938 kB / 0.5104 GB, free: 9.848 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.02727/0.365, allocations: 10.93 MB / 0.5211 GB, free: 14.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3651, allocations: 12.03 kB / 0.5211 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00203/0.3671, allocations: 1.193 MB / 0.5222 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5922/0.9593, allocations: 24.34 MB / 0.546 GB, free: 93.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/0.975, allocations: 9.349 MB / 0.5551 GB, free: 86.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.9752, allocations: 451 kB / 0.5556 GB, free: 86.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.9765, allocations: 0.6161 MB / 0.5562 GB, free: 85.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/0.9993, allocations: 16.74 MB / 0.5725 GB, free: 67.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/0.9997, allocations: 95.36 kB / 0.5726 GB, free: 67.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/1.001, allocations: 286.9 kB / 0.5729 GB, free: 67.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003572/1.005, allocations: 2.859 MB / 0.5757 GB, free: 64.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/1.028, allocations: 13.26 MB / 0.5886 GB, free: 51.48 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.07353/1.101, allocations: 68.13 MB / 0.6552 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02065/1.122, allocations: 7.632 MB / 0.6626 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005725/1.127, allocations: 4.037 MB / 0.6666 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02068/1.148, allocations: 12.06 MB / 0.6783 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/1.148, allocations: 68.5 kB / 0.6784 GB, free: 5.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 5.701e-06/1.148, allocations: 0 / 0.6784 GB, free: 5.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.1873/1.336, allocations: 50.18 MB / 0.7274 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/1.336, allocations: 402.2 kB / 0.7278 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009794/1.346, allocations: 7.316 MB / 0.7349 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006183/1.346, allocations: 81.7 kB / 0.735 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003997/1.35, allocations: 5.523 MB / 0.7404 GB, free: 6.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/1.352, allocations: 1.372 MB / 0.7418 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/1.354, allocations: 1.707 MB / 0.7434 GB, free: 3.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.354, allocations: 305.1 kB / 0.7437 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1777/1.532, allocations: 4.119 MB / 0.7477 GB, free: 187.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007957/1.54, allocations: 8.863 MB / 0.7564 GB, free: 180.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.552, allocations: 13.95 MB / 0.77 GB, free: 170.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/1.552, allocations: 45.91 kB / 0.7701 GB, free: 170.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.0301/1.582, allocations: 17.82 MB / 0.7875 GB, free: 164.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.583, allocations: 80.78 kB / 0.7875 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/1.583, allocations: 168.6 kB / 0.7877 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/1.599, allocations: 6.037 MB / 0.7936 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/1.605, allocations: 1.829 MB / 0.7954 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03489/1.64, allocations: 32.91 MB / 0.8275 GB, free: 125.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/1.647, allocations: 0.5437 MB / 0.828 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/1.648, allocations: 490.2 kB / 0.8285 GB, free: 124.5 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.00565/1.654, allocations: 3.575 MB / 0.832 GB, free: 121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.655, allocations: 0.7073 MB / 0.8327 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02251/1.678, allocations: 12.02 MB / 0.8444 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/1.678, allocations: 36.84 kB / 0.8445 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.129e-05/1.678, allocations: 20 kB / 0.8445 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.549e-05/1.678, allocations: 15.94 kB / 0.8445 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0406/1.719, allocations: 25.78 MB / 0.8697 GB, free: 82.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/1.719, allocations: 8 kB / 0.8697 GB, free: 82.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/1.721, allocations: 463.3 kB / 0.8701 GB, free: 81.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01535/1.736, allocations: 5.708 MB / 0.8757 GB, free: 76.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006616/1.737, allocations: 64.25 kB / 0.8758 GB, free: 76.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03325/1.77, allocations: 31.71 MB / 0.9067 GB, free: 44.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.77, allocations: 15.33 kB / 0.9067 GB, free: 44.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0269/1.797, allocations: 17.36 MB / 0.9237 GB, free: 26.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.798, allocations: 0.7396 MB / 0.9244 GB, free: 25.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/1.8, allocations: 63.98 kB / 0.9245 GB, free: 25.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003882/1.804, allocations: 275.6 kB / 0.9247 GB, free: 25.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009544/1.805, allocations: 254.7 kB / 0.925 GB, free: 25.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003988/1.805, allocations: 96 kB / 0.9251 GB, free: 25.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006596/1.812, allocations: 4.706 MB / 0.9297 GB, free: 20.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.812, allocations: 0 / 0.9297 GB, free: 20.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007774/1.82, allocations: 2.036 MB / 0.9317 GB, free: 18.6 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.218/2.038, allocations: 18.06 MB / 0.9493 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0163/2.054, allocations: 10.51 MB / 0.9596 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/2.054, allocations: 3.875 kB / 0.9596 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007293/2.061, allocations: 4.602 MB / 0.9641 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/2.067, allocations: 1.115 MB / 0.9651 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.122/2.189, allocations: 95.09 MB / 1.058 GB, free: 84.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005125/2.194, allocations: 5.736 MB / 1.064 GB, free: 78.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004885/2.199, allocations: 2.709 MB / 1.066 GB, free: 76.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003397/2.202, allocations: 3.881 MB / 1.07 GB, free: 72.31 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/2.202, allocations: 4 kB / 1.07 GB, free: 72.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3885/2.591, allocations: 163.3 MB / 1.229 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.21/37.8, allocations: 5.016 kB / 1.23 GB, free: 136.8 MB / 0.5607 GB " [Timeout remaining time 622] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 40.157483772003616]