Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006285/0.006285, allocations: 101 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 188 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 50 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.1006, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02/0.1206, allocations: 19.49 MB / 392.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.1345, allocations: 6.001 MB / 398.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0045/0.1391, allocations: 155.4 kB / 398.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.1509, allocations: 5.852 MB / 404.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009897/0.1608, allocations: 3.365 MB / 408 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.165, allocations: 1.572 MB / 409.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01702/0.182, allocations: 11.36 MB / 421 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.195, allocations: 7.666 MB / 428.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007909/0.2029, allocations: 3.583 MB / 432.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008283/0.2112, allocations: 4.767 MB / 437 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003276/0.2145, allocations: 0.7148 MB / 437.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005358/0.2199, allocations: 1.67 MB / 439.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0067/0.2266, allocations: 4.22 MB / 443.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009744/0.2364, allocations: 4.483 MB / 448.1 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.261/0.4974, allocations: 13.68 MB / 461.8 MB, free: 28.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.475e-06/0.4975, allocations: 1.062 kB / 461.8 MB, free: 28.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4975, allocations: 0 / 461.8 MB, free: 28.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004897/0.498, allocations: 0 / 461.8 MB, free: 28.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.03392/0.5319, allocations: 9.688 MB / 471.4 MB, free: 25.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.532, allocations: 9.25 kB / 471.5 MB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04831/0.5803, allocations: 5.245 MB / 476.7 MB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02278/0.6031, allocations: 8.36 MB / 485.1 MB, free: 22.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.6035, allocations: 426.8 kB / 485.5 MB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003316/0.6068, allocations: 0.5826 MB / 486.1 MB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03196/0.6388, allocations: 16.56 MB / 0.4908 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003124/0.6392, allocations: 93.52 kB / 0.4909 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.6402, allocations: 268 kB / 0.4912 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004134/0.6444, allocations: 2.767 MB / 0.4939 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02908/0.6735, allocations: 13.63 MB / 0.5072 GB, free: 12.31 MB / 398.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.1043/0.7778, allocations: 67.66 MB / 0.5733 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/0.8, allocations: 7.903 MB / 0.581 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006705/0.8067, allocations: 4.512 MB / 0.5854 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02572/0.8325, allocations: 12.41 MB / 0.5975 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.026e-05/0.8326, allocations: 71.22 kB / 0.5976 GB, free: 14.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 8.346e-06/0.8326, allocations: 0 / 0.5976 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.4278/1.26, allocations: 49.28 MB / 0.6457 GB, free: 176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.261, allocations: 398.4 kB / 0.6461 GB, free: 175.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/1.277, allocations: 7.188 MB / 0.6531 GB, free: 173 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001242/1.278, allocations: 77.39 kB / 0.6532 GB, free: 173 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005092/1.283, allocations: 5.023 MB / 0.6581 GB, free: 169.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002505/1.286, allocations: 1.265 MB / 0.6593 GB, free: 168.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003638/1.289, allocations: 1.863 MB / 0.6611 GB, free: 167.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/1.289, allocations: 304.9 kB / 0.6614 GB, free: 167 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006139/1.296, allocations: 4.551 MB / 0.6659 GB, free: 164.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008561/1.304, allocations: 9.267 MB / 0.6749 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/1.32, allocations: 14.55 MB / 0.6891 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/1.32, allocations: 48 kB / 0.6892 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04263/1.363, allocations: 19.76 MB / 0.7085 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.363, allocations: 77.56 kB / 0.7086 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/1.363, allocations: 160 kB / 0.7087 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02104/1.384, allocations: 7.043 MB / 0.7156 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006752/1.391, allocations: 1.938 MB / 0.7175 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04235/1.433, allocations: 35.3 MB / 0.752 GB, free: 71.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/1.444, allocations: 0.5851 MB / 0.7525 GB, free: 71.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/1.447, allocations: 500 kB / 0.753 GB, free: 70.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * 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 {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.009753/1.457, allocations: 3.486 MB / 0.7564 GB, free: 67.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/1.458, allocations: 0.6402 MB / 0.757 GB, free: 66.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02845/1.487, allocations: 13.32 MB / 0.77 GB, free: 53.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/1.487, allocations: 32 kB / 0.7701 GB, free: 53.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-05/1.487, allocations: 20 kB / 0.7701 GB, free: 53.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.881e-05/1.487, allocations: 23.88 kB / 0.7701 GB, free: 53.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05755/1.545, allocations: 26.59 MB / 0.7961 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-05/1.545, allocations: 12.16 kB / 0.7961 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.547, allocations: 427.3 kB / 0.7965 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01971/1.567, allocations: 6.641 MB / 0.803 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/1.568, allocations: 63.67 kB / 0.803 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2951/1.863, allocations: 34.01 MB / 0.8362 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.863, allocations: 7.812 kB / 0.8363 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03397/1.897, allocations: 18.77 MB / 0.8546 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005951/1.903, allocations: 1.386 MB / 0.8559 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002568/1.905, allocations: 63.98 kB / 0.856 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006617/1.912, allocations: 305 kB / 0.8563 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/1.914, allocations: 249 kB / 0.8565 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003266/1.914, allocations: 88 kB / 0.8566 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009483/1.923, allocations: 4.607 MB / 0.8611 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.31e-07/1.923, allocations: 3.875 kB / 0.8611 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01559/1.939, allocations: 2.14 MB / 0.8632 GB, free: 136.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (215): * Single equations (assignments): 209 * 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,87,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.001473/1.941, allocations: 216.5 kB / 0.8634 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.018/1.959, allocations: 11.62 MB / 0.8748 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.959, allocations: 0 / 0.8748 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007829/1.967, allocations: 5.016 MB / 0.8797 GB, free: 120 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007157/1.974, allocations: 0.9981 MB / 0.8806 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/2.014, allocations: 19.65 MB / 0.8998 GB, free: 99.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009436/2.024, allocations: 5.556 MB / 0.9052 GB, free: 93.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006286/2.03, allocations: 2.609 MB / 0.9078 GB, free: 91.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/2.032, allocations: 391.4 kB / 0.9082 GB, free: 90.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/2.032, allocations: 0 / 0.9082 GB, free: 90.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.3774/2.409, allocations: 94.25 MB / 1 GB, free: 155.9 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)