Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001264/0.001265, allocations: 190.3 kB / 16.25 MB, free: 6.625 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3959/0.3959, allocations: 39.93 MB / 309.4 MB, free: 9.312 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.001476/0.001476, allocations: 63.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1616, allocations: 56.89 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4595/0.6212, allocations: 125.7 MB / 0.5466 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08326/0.7045, allocations: 23.44 MB / 0.5695 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04488/0.7494, allocations: 0.53 MB / 0.57 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.7619, allocations: 6.166 MB / 0.5761 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.7739, allocations: 3.096 MB / 0.5791 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.7795, allocations: 1.515 MB / 0.5806 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0168/0.7963, allocations: 10.25 MB / 0.5906 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.8087, allocations: 8.769 MB / 0.5991 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008356/0.8171, allocations: 3.505 MB / 0.6026 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01138/0.8285, allocations: 5.274 MB / 0.6077 GB, free: 6.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004158/0.8327, allocations: 0.7734 MB / 0.6085 GB, free: 5.914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.8386, allocations: 1.787 MB / 0.6102 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007953/0.8466, allocations: 4.384 MB / 0.6145 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0154/0.862, allocations: 4.856 MB / 0.6192 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4652/1.327, allocations: 14.63 MB / 0.6335 GB, free: 29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.467e-05/1.327, allocations: 0 / 0.6335 GB, free: 29 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.867e-06/1.327, allocations: 2.625 kB / 0.6335 GB, free: 29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001028/1.328, allocations: 3.719 kB / 0.6335 GB, free: 29 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.042/1.37, allocations: 10.08 MB / 0.6434 GB, free: 25.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.487e-05/1.371, allocations: 14.73 kB / 0.6434 GB, free: 25.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02552/1.396, allocations: 3.727 MB / 0.647 GB, free: 24.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02133/1.417, allocations: 6.564 MB / 0.6534 GB, free: 23.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007822/1.418, allocations: 498.5 kB / 0.6539 GB, free: 23.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00443/1.423, allocations: 0.6661 MB / 0.6546 GB, free: 23.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05692/1.48, allocations: 19.91 MB / 0.674 GB, free: 20.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009849/1.481, allocations: 92.48 kB / 0.6741 GB, free: 20.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004875/1.486, allocations: 308.6 kB / 0.6744 GB, free: 20.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006892/1.492, allocations: 3.607 MB / 0.6779 GB, free: 19.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03942/1.532, allocations: 16.75 MB / 0.6943 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/1.66, allocations: 73.13 MB / 0.7657 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0227/1.683, allocations: 8.501 MB / 0.774 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007613/1.69, allocations: 4.548 MB / 0.7784 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.692, allocations: 0.6685 MB / 0.7791 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/1.692, allocations: 71.5 kB / 0.7791 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=311): time 1.418e-05/1.692, allocations: 0 / 0.7791 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=335): time 0.105/1.797, allocations: 35.74 MB / 0.814 GB, free: 16 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002566/1.797, allocations: 305.8 kB / 0.8143 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01461/1.812, allocations: 7.813 MB / 0.822 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.813, allocations: 79.12 kB / 0.822 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005929/1.819, allocations: 5.738 MB / 0.8276 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002995/1.822, allocations: 1.274 MB / 0.8289 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004134/1.826, allocations: 2.081 MB / 0.8309 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.826, allocations: 301.1 kB / 0.8312 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007613/1.834, allocations: 4.127 MB / 0.8352 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01723/1.851, allocations: 9.84 MB / 0.8448 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2876/2.139, allocations: 14.9 MB / 0.8594 GB, free: 281.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001897/2.139, allocations: 58.97 kB / 0.8594 GB, free: 281.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03046/2.17, allocations: 15.83 MB / 0.8749 GB, free: 277.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/2.17, allocations: 88 kB / 0.875 GB, free: 277.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002709/2.17, allocations: 205.1 kB / 0.8752 GB, free: 277.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005819/2.176, allocations: 2.334 MB / 0.8775 GB, free: 277.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008828/2.185, allocations: 2.351 MB / 0.8798 GB, free: 277.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/2.207, allocations: 16.76 MB / 0.8961 GB, free: 267.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.218, allocations: 0.5787 MB / 0.8967 GB, free: 267 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002834/2.221, allocations: 0.579 MB / 0.8972 GB, free: 267 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (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.01207/2.233, allocations: 3.887 MB / 0.901 GB, free: 265.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003489/2.236, allocations: 0.67 MB / 0.9017 GB, free: 265.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/2.255, allocations: 7.986 MB / 0.9095 GB, free: 262.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.004e-05/2.255, allocations: 33.47 kB / 0.9095 GB, free: 262.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.944e-05/2.255, allocations: 11.28 kB / 0.9095 GB, free: 262.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.927e-05/2.255, allocations: 15.23 kB / 0.9096 GB, free: 262.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03366/2.289, allocations: 17.41 MB / 0.9266 GB, free: 256.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/2.289, allocations: 0 / 0.9266 GB, free: 256.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/2.292, allocations: 0.5585 MB / 0.9271 GB, free: 256.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00495/2.297, allocations: 2.009 MB / 0.9291 GB, free: 255.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006138/2.297, allocations: 57.42 kB / 0.9291 GB, free: 255.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/2.312, allocations: 15.62 MB / 0.9444 GB, free: 240.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.312, allocations: 8.094 kB / 0.9444 GB, free: 240.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/2.33, allocations: 12.4 MB / 0.9565 GB, free: 228.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004104/2.335, allocations: 1.277 MB / 0.9577 GB, free: 226.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/2.336, allocations: 56 kB / 0.9578 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/2.34, allocations: 227.7 kB / 0.958 GB, free: 226.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00064/2.341, allocations: 202.2 kB / 0.9582 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/2.341, allocations: 87.75 kB / 0.9583 GB, free: 226.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007395/2.348, allocations: 4.996 MB / 0.9632 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.51e-07/2.349, allocations: 0 / 0.9632 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01199/2.361, allocations: 2.019 MB / 0.9651 GB, free: 219.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (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.0009987/2.362, allocations: 200.2 kB / 0.9653 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01918/2.381, allocations: 12.39 MB / 0.9774 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/2.381, allocations: 0 / 0.9774 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004785/2.386, allocations: 3.65 MB / 0.981 GB, free: 203 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007529/2.393, allocations: 0.9729 MB / 0.9819 GB, free: 202 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03244/2.426, allocations: 23.01 MB / 1.004 GB, free: 179 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009592/2.435, allocations: 5.966 MB / 1.01 GB, free: 173 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01201/2.447, allocations: 3.078 MB / 1.013 GB, free: 169.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/2.45, allocations: 463.3 kB / 1.014 GB, free: 169.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.262e-06/2.45, allocations: 0 / 1.014 GB, free: 169.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.1332/2.583, allocations: 81.57 MB / 1.093 GB, free: 87.98 MB / 0.6387 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)