Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007759/0.007759, allocations: 99.83 kB / 15.73 MB, free: 6.043 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.001597/0.001597, allocations: 187.6 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3458/0.3458, allocations: 37.99 MB / 307.9 MB, free: 10.13 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 79.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3585, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.01636/0.3749, allocations: 14.2 MB / 0.4919 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.3883, allocations: 4.641 MB / 0.4964 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004877/0.3932, allocations: 93.22 kB / 0.4965 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00892/0.4022, allocations: 4.22 MB / 0.5006 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008579/0.4108, allocations: 2.261 MB / 0.5028 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.4138, allocations: 0.9288 MB / 0.5037 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01106/0.4249, allocations: 5.84 MB / 0.5094 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008692/0.4336, allocations: 5.26 MB / 0.5146 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006605/0.4403, allocations: 2.188 MB / 0.5167 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007401/0.4477, allocations: 2.955 MB / 0.5196 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00206/0.4498, allocations: 488 kB / 0.52 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/0.4543, allocations: 1.373 MB / 0.5214 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003757/0.4581, allocations: 2.65 MB / 0.524 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005962/0.4641, allocations: 2.991 MB / 0.5269 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.4767, allocations: 9.547 MB / 0.5362 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4767, allocations: 4 kB / 0.5362 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4767, allocations: 0 / 0.5362 GB, free: 7.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003179/0.4771, allocations: 4 kB / 0.5362 GB, free: 7.723 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01715/0.4942, allocations: 6.322 MB / 0.5424 GB, free: 1.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4943, allocations: 15.88 kB / 0.5424 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.5071, allocations: 2.602 MB / 0.545 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.519, allocations: 4.055 MB / 0.5489 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.5193, allocations: 308.4 kB / 0.5492 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.5214, allocations: 427.8 kB / 0.5496 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/0.5473, allocations: 11.97 MB / 0.5613 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002986/0.5477, allocations: 51.59 kB / 0.5613 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/0.5493, allocations: 195.8 kB / 0.5615 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004026/0.5534, allocations: 2.206 MB / 0.5637 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.576, allocations: 10.13 MB / 0.5736 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07678/0.6528, allocations: 46.93 MB / 0.6194 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.6637, allocations: 4.364 MB / 0.6237 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003568/0.6673, allocations: 2.51 MB / 0.6261 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3097/0.9769, allocations: 9.98 MB / 0.6359 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.977, allocations: 55.12 kB / 0.6359 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=190): time 4.949e-06/0.977, allocations: 1.281 kB / 0.6359 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.05728/1.034, allocations: 20.79 MB / 0.6562 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.034, allocations: 208.1 kB / 0.6564 GB, free: 118 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008277/1.043, allocations: 4.822 MB / 0.6611 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005561/1.043, allocations: 57.36 kB / 0.6612 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.046, allocations: 3.717 MB / 0.6648 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009926/1.047, allocations: 0.8085 MB / 0.6656 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00187/1.049, allocations: 1.385 MB / 0.667 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/1.049, allocations: 302.4 kB / 0.6673 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003694/1.052, allocations: 2.554 MB / 0.6697 GB, free: 111 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005377/1.058, allocations: 6.522 MB / 0.6761 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009291/1.067, allocations: 9.738 MB / 0.6856 GB, free: 96.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/1.067, allocations: 41.75 kB / 0.6857 GB, free: 96.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01482/1.082, allocations: 10.18 MB / 0.6956 GB, free: 89.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.318e-05/1.082, allocations: 64 kB / 0.6957 GB, free: 89.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-05/1.082, allocations: 140 kB / 0.6958 GB, free: 89.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003774/1.086, allocations: 1.611 MB / 0.6974 GB, free: 87.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/1.09, allocations: 1.552 MB / 0.6989 GB, free: 85.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.101, allocations: 10.01 MB / 0.7087 GB, free: 75.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007053/1.108, allocations: 375.3 kB / 0.709 GB, free: 75.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/1.11, allocations: 411.9 kB / 0.7094 GB, free: 74.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 823 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004295/1.114, allocations: 2.564 MB / 0.7119 GB, free: 72.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.115, allocations: 418.6 kB / 0.7123 GB, free: 71.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007462/1.122, allocations: 4.549 MB / 0.7168 GB, free: 67.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/1.122, allocations: 24 kB / 0.7168 GB, free: 67.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.122, allocations: 4 kB / 0.7168 GB, free: 67.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/1.123, allocations: 19.61 kB / 0.7168 GB, free: 67.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/1.14, allocations: 10.26 MB / 0.7268 GB, free: 56.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.14, allocations: 4 kB / 0.7268 GB, free: 56.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.142, allocations: 331.6 kB / 0.7271 GB, free: 56.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003687/1.145, allocations: 1.351 MB / 0.7285 GB, free: 55.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/1.146, allocations: 43.92 kB / 0.7285 GB, free: 55.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009321/1.155, allocations: 9.391 MB / 0.7377 GB, free: 45.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.155, allocations: 3.938 kB / 0.7377 GB, free: 45.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.165, allocations: 7.472 MB / 0.745 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002601/1.168, allocations: 0.7728 MB / 0.7457 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008701/1.169, allocations: 32 kB / 0.7458 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.171, allocations: 131.8 kB / 0.7459 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/1.171, allocations: 134.8 kB / 0.746 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.171, allocations: 52 kB / 0.7461 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004081/1.176, allocations: 3.049 MB / 0.749 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.176, allocations: 0 / 0.749 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006648/1.182, allocations: 1.245 MB / 0.7503 GB, free: 32.63 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (163): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004596/1.183, allocations: 175.8 kB / 0.7504 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008608/1.191, allocations: 6.303 MB / 0.7566 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.191, allocations: 4.062 kB / 0.7566 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002766/1.194, allocations: 2.155 MB / 0.7587 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/1.197, allocations: 0.5569 MB / 0.7592 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.215, allocations: 11.65 MB / 0.7706 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003993/1.219, allocations: 4.002 MB / 0.7745 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004668/1.224, allocations: 2.083 MB / 0.7765 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009201/1.225, allocations: 283.4 kB / 0.7768 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of SimCode: time 1.783e-06/1.225, allocations: 0 / 0.7768 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of Templates: time 0.08761/1.312, allocations: 43.75 MB / 0.8195 GB, free: 9.758 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe 2>&1)