Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.00082, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006264/0.006264, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.87/1.87, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4224/0.4224, allocations: 40 MB / 310.7 MB, free: 9.57 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.2. 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.000651/0.0006511, allocations: 12.56 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1476, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3716/0.5192, allocations: 71.91 MB / 0.4974 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0436/0.5629, allocations: 14.5 MB / 0.5115 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02601/0.5889, allocations: 314.6 kB / 0.5118 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.5923, allocations: 0.5288 MB / 0.5124 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.6036, allocations: 2.277 MB / 0.5146 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.6075, allocations: 0.8104 MB / 0.5154 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01744/0.625, allocations: 8.718 MB / 0.5239 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01417/0.6392, allocations: 6.475 MB / 0.5302 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.6447, allocations: 1.579 MB / 0.5317 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006109/0.6509, allocations: 2.713 MB / 0.5344 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.6524, allocations: 193.6 kB / 0.5346 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/0.6565, allocations: 1.31 MB / 0.5359 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005337/0.6618, allocations: 2.411 MB / 0.5382 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005875/0.6677, allocations: 2.703 MB / 0.5409 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.6808, allocations: 8.972 MB / 0.5496 GB, free: 4.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6809, allocations: 0 / 0.5496 GB, free: 4.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.6809, allocations: 0 / 0.5496 GB, free: 4.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003605/0.6813, allocations: 4 kB / 0.5496 GB, free: 4.457 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01468/0.6959, allocations: 5.373 MB / 0.5549 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.696, allocations: 11.97 kB / 0.5549 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.7098, allocations: 2.727 MB / 0.5575 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.7203, allocations: 3.993 MB / 0.5614 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.7206, allocations: 312.2 kB / 0.5617 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.7219, allocations: 419.6 kB / 0.5621 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.7492, allocations: 13.03 MB / 0.5749 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002714/0.7495, allocations: 59.38 kB / 0.5749 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007853/0.7503, allocations: 199.8 kB / 0.5751 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004453/0.7548, allocations: 2.503 MB / 0.5775 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/0.7789, allocations: 10.86 MB / 0.5882 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4031/1.182, allocations: 50.18 MB / 0.6372 GB, free: 109.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/1.193, allocations: 4.554 MB / 0.6416 GB, free: 108.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/1.197, allocations: 2.452 MB / 0.644 GB, free: 108.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/1.208, allocations: 6.734 MB / 0.6506 GB, free: 107.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.208, allocations: 56.75 kB / 0.6506 GB, free: 107.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 5.641e-06/1.208, allocations: 0 / 0.6506 GB, free: 107.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05126/1.259, allocations: 19.38 MB / 0.6696 GB, free: 100.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.26, allocations: 234 kB / 0.6698 GB, free: 100 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0136/1.273, allocations: 5.912 MB / 0.6756 GB, free: 97.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006241/1.274, allocations: 56.45 kB / 0.6756 GB, free: 97.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004291/1.278, allocations: 4.065 MB / 0.6796 GB, free: 94.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.28, allocations: 0.7733 MB / 0.6803 GB, free: 94.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/1.281, allocations: 0.6479 MB / 0.681 GB, free: 93.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/1.281, allocations: 301.1 kB / 0.6812 GB, free: 93.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005042/1.286, allocations: 2.636 MB / 0.6838 GB, free: 92.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008155/1.294, allocations: 7.158 MB / 0.6908 GB, free: 85.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.307, allocations: 10.51 MB / 0.7011 GB, free: 77.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002929/1.307, allocations: 45.06 kB / 0.7011 GB, free: 77.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02324/1.331, allocations: 10.58 MB / 0.7115 GB, free: 73.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002536/1.331, allocations: 72.31 kB / 0.7115 GB, free: 73.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003645/1.331, allocations: 158.7 kB / 0.7117 GB, free: 73.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003435/1.335, allocations: 1.242 MB / 0.7129 GB, free: 73.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007468/1.342, allocations: 1.726 MB / 0.7146 GB, free: 71.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00947/1.352, allocations: 7.907 MB / 0.7223 GB, free: 64.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007482/1.359, allocations: 419.3 kB / 0.7227 GB, free: 63.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.361, allocations: 458.6 kB / 0.7231 GB, free: 63.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (918): * Single equations (assignments): 911 * Array equations: 5 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006473/1.367, allocations: 2.696 MB / 0.7258 GB, free: 60.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/1.369, allocations: 485.7 kB / 0.7262 GB, free: 60.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007697/1.377, allocations: 4.037 MB / 0.7302 GB, free: 56.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.232e-05/1.377, allocations: 20 kB / 0.7302 GB, free: 56.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/1.377, allocations: 8 kB / 0.7302 GB, free: 56.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/1.377, allocations: 12.91 kB / 0.7302 GB, free: 56.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.398, allocations: 9.562 MB / 0.7395 GB, free: 46.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/1.398, allocations: 7.938 kB / 0.7396 GB, free: 46.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.4, allocations: 323.5 kB / 0.7399 GB, free: 46.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/1.403, allocations: 1.006 MB / 0.7408 GB, free: 45.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/1.403, allocations: 32 kB / 0.7409 GB, free: 45.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007158/1.41, allocations: 7.241 MB / 0.7479 GB, free: 37.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.41, allocations: 4 kB / 0.748 GB, free: 37.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/1.421, allocations: 6.892 MB / 0.7547 GB, free: 30.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003066/1.424, allocations: 0.8462 MB / 0.7555 GB, free: 29.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.426, allocations: 39.94 kB / 0.7555 GB, free: 29.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003647/1.429, allocations: 115.8 kB / 0.7557 GB, free: 29.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/1.43, allocations: 121 kB / 0.7558 GB, free: 29.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.43, allocations: 59.92 kB / 0.7558 GB, free: 29.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007748/1.438, allocations: 3.774 MB / 0.7595 GB, free: 25.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.41e-07/1.438, allocations: 0 / 0.7595 GB, free: 25.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01041/1.448, allocations: 1.302 MB / 0.7608 GB, free: 24.42 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/1.449, allocations: 169.2 kB / 0.7609 GB, free: 24.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.46, allocations: 6.321 MB / 0.7671 GB, free: 17.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.46, allocations: 4.062 kB / 0.7671 GB, free: 17.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00269/1.463, allocations: 1.905 MB / 0.769 GB, free: 16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008335/1.471, allocations: 0.5989 MB / 0.7696 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/1.495, allocations: 14.79 MB / 0.784 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007809/1.503, allocations: 4.127 MB / 0.788 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007404/1.51, allocations: 2.313 MB / 0.7903 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/1.512, allocations: 319.3 kB / 0.7906 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of SimCode: time 1.773e-06/1.512, allocations: 3.938 kB / 0.7906 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of Templates: time 0.3692/1.881, allocations: 46.71 MB / 0.8362 GB, free: 168.7 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) Environment - environmentSimulation: