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.00129/0.00129, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00144/0.00144, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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.001993/0.001993, allocations: 72.48 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2491, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.0237/0.2728, allocations: 20.55 MB / 452.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.2868, allocations: 6.25 MB / 458.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.2907, allocations: 202.8 kB / 458.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01281/0.3035, allocations: 6.429 MB / 465.4 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009516/0.313, allocations: 3.506 MB / 468.9 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.3169, allocations: 1.662 MB / 470.5 MB, free: 156 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01935/0.3363, allocations: 12.99 MB / 483.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.3464, allocations: 6.294 MB / 489.8 MB, free: 12.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007398/0.3538, allocations: 3.813 MB / 493.6 MB, free: 8.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008922/0.3627, allocations: 5.355 MB / 499 MB, free: 3.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002689/0.3654, allocations: 0.75 MB / 499.7 MB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004705/0.3701, allocations: 1.733 MB / 0.4897 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006621/0.3768, allocations: 4.542 MB / 0.4942 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009013/0.3858, allocations: 4.935 MB / 0.499 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02107/0.4068, allocations: 14.87 MB / 0.5135 GB, free: 8.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4069, allocations: 0 / 0.5135 GB, free: 8.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4069, allocations: 0 / 0.5135 GB, free: 8.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006098/0.4075, allocations: 0 / 0.5135 GB, free: 8.641 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.03459/0.4421, allocations: 10.86 MB / 0.5241 GB, free: 13.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.4421, allocations: 8.031 kB / 0.5241 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003948/0.4461, allocations: 1.201 MB / 0.5253 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6267/1.073, allocations: 24.35 MB / 0.5491 GB, free: 92.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/1.091, allocations: 9.221 MB / 0.5581 GB, free: 85.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/1.091, allocations: 447.8 kB / 0.5585 GB, free: 84.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/1.093, allocations: 0.6078 MB / 0.5591 GB, free: 84.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/1.119, allocations: 16.74 MB / 0.5754 GB, free: 66.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/1.119, allocations: 99.3 kB / 0.5755 GB, free: 66.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008144/1.12, allocations: 282.4 kB / 0.5758 GB, free: 66.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003495/1.123, allocations: 2.854 MB / 0.5786 GB, free: 63.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/1.147, allocations: 13.27 MB / 0.5915 GB, free: 50.07 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.07475/1.222, allocations: 68.18 MB / 0.6581 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0207/1.242, allocations: 7.189 MB / 0.6651 GB, free: 4.883 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005885/1.248, allocations: 4.06 MB / 0.6691 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01962/1.268, allocations: 11.38 MB / 0.6802 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/1.268, allocations: 68.56 kB / 0.6803 GB, free: 5.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 6.342e-06/1.268, allocations: 0 / 0.6803 GB, free: 5.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.1842/1.452, allocations: 50.03 MB / 0.7291 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002379/1.452, allocations: 409.9 kB / 0.7295 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.464, allocations: 7.312 MB / 0.7367 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008337/1.465, allocations: 77.7 kB / 0.7367 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004686/1.47, allocations: 5.527 MB / 0.7421 GB, free: 6.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001991/1.472, allocations: 1.372 MB / 0.7435 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002856/1.474, allocations: 1.703 MB / 0.7451 GB, free: 3.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.475, allocations: 305.1 kB / 0.7454 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2189/1.693, allocations: 4.124 MB / 0.7495 GB, free: 186.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008347/1.702, allocations: 8.862 MB / 0.7581 GB, free: 180.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.715, allocations: 13.95 MB / 0.7717 GB, free: 169.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/1.715, allocations: 44.69 kB / 0.7718 GB, free: 169.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.0321/1.748, allocations: 17.83 MB / 0.7892 GB, free: 164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.748, allocations: 77.53 kB / 0.7893 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.748, allocations: 168.6 kB / 0.7894 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01645/1.764, allocations: 6.045 MB / 0.7953 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005695/1.77, allocations: 1.821 MB / 0.7971 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03545/1.805, allocations: 32.59 MB / 0.8289 GB, free: 125.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007307/1.813, allocations: 0.5466 MB / 0.8295 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.814, allocations: 492 kB / 0.8299 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.005288/1.819, allocations: 3.579 MB / 0.8334 GB, free: 121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.821, allocations: 0.7063 MB / 0.8341 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/1.842, allocations: 12.02 MB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/1.842, allocations: 36 kB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/1.842, allocations: 20.75 kB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-05/1.842, allocations: 20.69 kB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04025/1.883, allocations: 25.74 MB / 0.8711 GB, free: 82.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-05/1.883, allocations: 10.19 kB / 0.8711 GB, free: 82.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/1.885, allocations: 467.3 kB / 0.8715 GB, free: 82.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01513/1.9, allocations: 5.7 MB / 0.8771 GB, free: 76.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007012/1.901, allocations: 60 kB / 0.8772 GB, free: 76.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03382/1.935, allocations: 31.4 MB / 0.9078 GB, free: 44.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.935, allocations: 7.938 kB / 0.9078 GB, free: 44.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02748/1.962, allocations: 17.37 MB / 0.9248 GB, free: 27.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.964, allocations: 0.6563 MB / 0.9254 GB, free: 26.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0016/1.966, allocations: 60.19 kB / 0.9255 GB, free: 26.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/1.969, allocations: 283.6 kB / 0.9258 GB, free: 26.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009871/1.97, allocations: 270.6 kB / 0.926 GB, free: 25.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/1.97, allocations: 95.98 kB / 0.9261 GB, free: 25.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006126/1.977, allocations: 4.702 MB / 0.9307 GB, free: 21.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/1.977, allocations: 4 kB / 0.9307 GB, free: 21.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008362/1.985, allocations: 2.046 MB / 0.9327 GB, free: 19.12 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.244/2.229, allocations: 18.06 MB / 0.9503 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0177/2.247, allocations: 10.5 MB / 0.9606 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/2.247, allocations: 3.969 kB / 0.9606 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007139/2.254, allocations: 4.601 MB / 0.9651 GB, free: 180.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006417/2.26, allocations: 1.106 MB / 0.9662 GB, free: 180.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1403/2.401, allocations: 95.11 MB / 1.059 GB, free: 89.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006025/2.407, allocations: 5.727 MB / 1.065 GB, free: 83.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005589/2.412, allocations: 2.713 MB / 1.067 GB, free: 80.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004258/2.416, allocations: 3.881 MB / 1.071 GB, free: 76.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.723e-06/2.416, allocations: 0 / 1.071 GB, free: 76.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4679/2.884, allocations: 169.5 MB / 1.237 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.81/45.69, allocations: 10.42 kB / 1.237 GB, free: 129.2 MB / 0.5607 GB " [Timeout remaining time 614] (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 --stepSize=9.94431e-05 --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: 48.37250873586163] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 45.888315841555595 45.905337475 45.494754924 Calling exit ...