Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007673/0.0007672, allocations: 97.72 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.004766/0.004766, allocations: 170.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.57/1.57, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.3734/0.3734, allocations: 40 MB / 310.7 MB, free: 9.793 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.0006122/0.0006121, allocations: 16 kB / 379.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1644, allocations: 57.94 MB / 437.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4378/0.6023, allocations: 95.3 MB / 0.5202 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07346/0.6758, allocations: 18.59 MB / 0.5384 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0376/0.7135, allocations: 417.3 kB / 0.5388 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004338/0.7179, allocations: 0.6479 MB / 0.5394 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.7304, allocations: 2.611 MB / 0.5419 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.7346, allocations: 0.9438 MB / 0.5429 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02142/0.756, allocations: 10.23 MB / 0.5529 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01609/0.7722, allocations: 8.217 MB / 0.5609 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006275/0.7785, allocations: 1.906 MB / 0.5627 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007349/0.7859, allocations: 3.278 MB / 0.5659 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002133/0.7881, allocations: 244 kB / 0.5662 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.7923, allocations: 1.346 MB / 0.5675 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004531/0.7969, allocations: 2.929 MB / 0.5704 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006311/0.8032, allocations: 3.347 MB / 0.5736 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.8213, allocations: 11.06 MB / 0.5844 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.8213, allocations: 0 / 0.5844 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.8213, allocations: 0 / 0.5844 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005813/0.8219, allocations: 0 / 0.5844 GB, free: 0.9141 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02023/0.8422, allocations: 6.591 MB / 0.5909 GB, free: 10.24 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.8422, allocations: 8.031 kB / 0.5909 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.8578, allocations: 2.932 MB / 0.5937 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.8703, allocations: 4.557 MB / 0.5982 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004318/0.8708, allocations: 394.1 kB / 0.5986 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002659/0.8734, allocations: 0.5269 MB / 0.5991 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03751/0.9109, allocations: 16.94 MB / 0.6156 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002741/0.9113, allocations: 71.36 kB / 0.6157 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/0.9123, allocations: 243.8 kB / 0.6159 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006355/0.9187, allocations: 3.252 MB / 0.6191 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5971/1.516, allocations: 14.53 MB / 0.6333 GB, free: 137.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09883/1.615, allocations: 62.79 MB / 0.6946 GB, free: 97.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02076/1.636, allocations: 6.924 MB / 0.7014 GB, free: 95.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007532/1.643, allocations: 4.244 MB / 0.7055 GB, free: 93.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02428/1.668, allocations: 9.672 MB / 0.7149 GB, free: 87.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.762e-05/1.668, allocations: 70.06 kB / 0.715 GB, free: 87.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 7.574e-06/1.668, allocations: 0 / 0.715 GB, free: 87.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.09607/1.764, allocations: 34.77 MB / 0.749 GB, free: 57.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.764, allocations: 244.2 kB / 0.7492 GB, free: 57.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009635/1.774, allocations: 6.744 MB / 0.7558 GB, free: 50.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001092/1.775, allocations: 77.7 kB / 0.7559 GB, free: 50.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002921/1.778, allocations: 4.753 MB / 0.7605 GB, free: 45.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001938/1.78, allocations: 1.268 MB / 0.7617 GB, free: 44.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009953/1.781, allocations: 0.792 MB / 0.7625 GB, free: 43.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/1.781, allocations: 305.1 kB / 0.7628 GB, free: 43.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/1.786, allocations: 4.07 MB / 0.7668 GB, free: 39.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007984/1.794, allocations: 9.139 MB / 0.7757 GB, free: 27.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/1.81, allocations: 14.17 MB / 0.7895 GB, free: 11.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002181/1.81, allocations: 48 kB / 0.7896 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03128/1.841, allocations: 15.12 MB / 0.8043 GB, free: 12.04 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/1.842, allocations: 84.03 kB / 0.8044 GB, free: 11.96 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/1.842, allocations: 176 kB / 0.8046 GB, free: 11.79 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/1.848, allocations: 2.284 MB / 0.8068 GB, free: 9.496 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008588/1.857, allocations: 2.152 MB / 0.8089 GB, free: 7.34 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3508/2.208, allocations: 13.51 MB / 0.8221 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/2.219, allocations: 0.5467 MB / 0.8227 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002969/2.222, allocations: 0.5335 MB / 0.8232 GB, free: 139.5 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1125): * Single equations (assignments): 1118 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008776/2.231, allocations: 3.292 MB / 0.8264 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/2.232, allocations: 0.5798 MB / 0.827 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/2.247, allocations: 8.453 MB / 0.8352 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.253e-05/2.247, allocations: 35.44 kB / 0.8353 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.215e-05/2.247, allocations: 9.906 kB / 0.8353 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-05/2.247, allocations: 16.17 kB / 0.8353 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04562/2.293, allocations: 17.1 MB / 0.852 GB, free: 130.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-05/2.293, allocations: 4.031 kB / 0.852 GB, free: 130.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003781/2.297, allocations: 0.5787 MB / 0.8525 GB, free: 130.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007273/2.304, allocations: 2.043 MB / 0.8545 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/2.305, allocations: 63.03 kB / 0.8546 GB, free: 130.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02211/2.327, allocations: 12.73 MB / 0.867 GB, free: 124 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/2.327, allocations: 8.25 kB / 0.867 GB, free: 124 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02691/2.354, allocations: 13.11 MB / 0.8798 GB, free: 119.1 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005076/2.36, allocations: 1.251 MB / 0.8811 GB, free: 118.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003069/2.363, allocations: 62.19 kB / 0.8811 GB, free: 118.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00546/2.368, allocations: 241.1 kB / 0.8814 GB, free: 118.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001643/2.37, allocations: 213 kB / 0.8816 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008779/2.371, allocations: 88.42 kB / 0.8816 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01111/2.382, allocations: 4.345 MB / 0.8859 GB, free: 116 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.583e-06/2.382, allocations: 0 / 0.8859 GB, free: 116 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01288/2.395, allocations: 1.777 MB / 0.8876 GB, free: 114.3 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/2.396, allocations: 209.2 kB / 0.8878 GB, free: 114.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01876/2.415, allocations: 9.794 MB / 0.8974 GB, free: 104.3 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.415, allocations: 4 kB / 0.8974 GB, free: 104.3 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008072/2.423, allocations: 3.986 MB / 0.9013 GB, free: 100.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01216/2.436, allocations: 0.7295 MB / 0.902 GB, free: 99.61 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/2.472, allocations: 20.18 MB / 0.9217 GB, free: 79.48 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008496/2.481, allocations: 5.042 MB / 0.9266 GB, free: 74.4 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008881/2.489, allocations: 2.965 MB / 0.9295 GB, free: 71.43 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/2.491, allocations: 425.2 kB / 0.9299 GB, free: 71.02 MB / 0.4982 GB Notification: Performance of SimCode: time 2.224e-06/2.491, allocations: 0 / 0.9299 GB, free: 71.02 MB / 0.4982 GB Notification: Performance of Templates: time 0.1243/2.616, allocations: 68.87 MB / 0.9972 GB, free: 2.227 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: