Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 50.55 MB / 410 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02196/0.2304, allocations: 23.29 MB / 433.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.2438, allocations: 7.08 MB / 440.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.2472, allocations: 175.4 kB / 440.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01347/0.2607, allocations: 7.909 MB / 448.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007747/0.2685, allocations: 3.532 MB / 452 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.2725, allocations: 2.013 MB / 454 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01633/0.2888, allocations: 13.56 MB / 467.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.3011, allocations: 10.44 MB / 478 MB, free: 13.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006095/0.3072, allocations: 4.266 MB / 482.2 MB, free: 9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009121/0.3164, allocations: 5.703 MB / 487.9 MB, free: 3.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002903/0.3193, allocations: 1 MB / 488.9 MB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.3242, allocations: 2.146 MB / 491.1 MB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006215/0.3304, allocations: 5.09 MB / 496.2 MB, free: 11.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00814/0.3386, allocations: 5.398 MB / 0.4898 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.3557, allocations: 17.19 MB / 0.5066 GB, free: 4.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3557, allocations: 0 / 0.5066 GB, free: 4.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3557, allocations: 3.938 kB / 0.5066 GB, free: 4.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003636/0.3561, allocations: 0 / 0.5066 GB, free: 4.359 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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.02407/0.3801, allocations: 11.18 MB / 0.5175 GB, free: 9.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3802, allocations: 8.031 kB / 0.5175 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04271/0.4229, allocations: 5.418 MB / 0.5228 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/0.443, allocations: 8.871 MB / 0.5315 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004313/0.4435, allocations: 0.5218 MB / 0.532 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002369/0.4459, allocations: 0.7298 MB / 0.5327 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3564/0.8023, allocations: 19.51 MB / 0.5518 GB, free: 109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.8026, allocations: 92.42 kB / 0.5519 GB, free: 109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007788/0.8034, allocations: 328.4 kB / 0.5522 GB, free: 108.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003369/0.8068, allocations: 2.813 MB / 0.5549 GB, free: 108.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.832, allocations: 16.25 MB / 0.5708 GB, free: 97.43 MB / 462.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.06509/0.8971, allocations: 74.04 MB / 0.6431 GB, free: 22.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/0.9172, allocations: 8.469 MB / 0.6514 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004724/0.9219, allocations: 4.773 MB / 0.656 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/0.9413, allocations: 15.49 MB / 0.6712 GB, free: 8.785 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.9414, allocations: 68.66 kB / 0.6712 GB, free: 8.707 MB / 478.1 MB Notification: Performance of pre-optimization done (n=320): time 6.553e-06/0.9414, allocations: 0 / 0.6712 GB, free: 8.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=426): time 0.1741/1.116, allocations: 52.3 MB / 0.7223 GB, free: 4.258 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/1.116, allocations: 410.7 kB / 0.7227 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009763/1.126, allocations: 7.55 MB / 0.7301 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007843/1.126, allocations: 89.69 kB / 0.7301 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003776/1.13, allocations: 5.593 MB / 0.7356 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.132, allocations: 1.549 MB / 0.7371 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002938/1.135, allocations: 2.094 MB / 0.7392 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/1.135, allocations: 301.1 kB / 0.7395 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1874/1.322, allocations: 5.21 MB / 0.7445 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008214/1.331, allocations: 10.27 MB / 0.7546 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/1.346, allocations: 16.31 MB / 0.7705 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-05/1.346, allocations: 45.69 kB / 0.7705 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.03497/1.381, allocations: 21.24 MB / 0.7913 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.588e-05/1.381, allocations: 83.09 kB / 0.7914 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/1.381, allocations: 168 kB / 0.7915 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01802/1.399, allocations: 6.657 MB / 0.798 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/1.405, allocations: 2.156 MB / 0.8001 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04052/1.446, allocations: 35.03 MB / 0.8343 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00714/1.453, allocations: 0.6157 MB / 0.8349 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007497/1.454, allocations: 0.5351 MB / 0.8355 GB, free: 102.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1176): * Single equations (assignments): 1171 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004506/1.458, allocations: 4.093 MB / 0.8395 GB, free: 98.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009421/1.459, allocations: 0.6912 MB / 0.8401 GB, free: 98.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02583/1.485, allocations: 14.3 MB / 0.8541 GB, free: 83.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.986e-05/1.485, allocations: 23.92 kB / 0.8541 GB, free: 83.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.485, allocations: 0 / 0.8541 GB, free: 83.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.487, allocations: 0.7243 MB / 0.8548 GB, free: 83.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/1.488, allocations: 71.94 kB / 0.8549 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003312/1.491, allocations: 320.4 kB / 0.8552 GB, free: 83.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007784/1.492, allocations: 362.3 kB / 0.8556 GB, free: 82.77 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02358/1.516, allocations: 13.82 MB / 0.869 GB, free: 69.01 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01522/1.531, allocations: 14.93 MB / 0.8836 GB, free: 54 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004047/1.535, allocations: 4.286 MB / 0.8878 GB, free: 49.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005438/1.54, allocations: 4.826 MB / 0.8925 GB, free: 44.91 MB / 0.5294 GB Notification: Performance of Backend: time 4.01e-07/1.54, allocations: 3.938 kB / 0.8925 GB, free: 44.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.554, allocations: 9.296 MB / 0.9016 GB, free: 35.69 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02437/1.578, allocations: 19.57 MB / 0.9207 GB, free: 16.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.3317/1.91, allocations: 118.7 MB / 1.037 GB, free: 108.4 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)