Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, 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.01043/0.01043, allocations: 172.2 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.788/1.788, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3648/0.3648, allocations: 40 MB / 310.7 MB, free: 9.578 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.0007415/0.0007415, allocations: 12 kB / 379.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1843, allocations: 57.96 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.4665/0.6509, allocations: 103.7 MB / 0.5285 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05177/0.7027, allocations: 19.92 MB / 0.5479 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02446/0.7272, allocations: 453.5 kB / 0.5483 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.7305, allocations: 0.7065 MB / 0.549 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.7419, allocations: 2.799 MB / 0.5518 GB, free: 312 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.7451, allocations: 1.005 MB / 0.5527 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01517/0.7603, allocations: 11.13 MB / 0.5636 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01614/0.7765, allocations: 10.31 MB / 0.5737 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00518/0.7817, allocations: 2.104 MB / 0.5757 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006141/0.7879, allocations: 3.628 MB / 0.5793 GB, free: 6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.7895, allocations: 272 kB / 0.5795 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.793, allocations: 1.205 MB / 0.5807 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004154/0.7972, allocations: 3.28 MB / 0.5839 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005223/0.8025, allocations: 3.693 MB / 0.5875 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.8179, allocations: 12.23 MB / 0.5995 GB, free: 1.246 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.818, allocations: 4 kB / 0.5995 GB, free: 1.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.818, allocations: 0 / 0.5995 GB, free: 1.242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005699/0.8186, allocations: 0 / 0.5995 GB, free: 1.242 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02012/0.8387, allocations: 7.212 MB / 0.6065 GB, free: 9.945 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.8388, allocations: 8.031 kB / 0.6065 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.8542, allocations: 3.052 MB / 0.6095 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.8647, allocations: 4.879 MB / 0.6143 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/0.8651, allocations: 456.1 kB / 0.6147 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/0.8672, allocations: 0.5971 MB / 0.6153 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4338/1.301, allocations: 18.5 MB / 0.6334 GB, free: 137.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/1.301, allocations: 73.19 kB / 0.6334 GB, free: 137.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007421/1.302, allocations: 278.1 kB / 0.6337 GB, free: 137.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005435/1.307, allocations: 3.536 MB / 0.6371 GB, free: 137.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/1.337, allocations: 15.7 MB / 0.6525 GB, free: 133.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08956/1.426, allocations: 70.28 MB / 0.7211 GB, free: 85.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01972/1.446, allocations: 8.473 MB / 0.7294 GB, free: 77.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005757/1.452, allocations: 4.996 MB / 0.7343 GB, free: 72.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01877/1.471, allocations: 11.87 MB / 0.7459 GB, free: 60.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.471, allocations: 73.12 kB / 0.7459 GB, free: 60.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 4.749e-06/1.471, allocations: 0 / 0.7459 GB, free: 60.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.08955/1.56, allocations: 38.91 MB / 0.7839 GB, free: 21.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/1.561, allocations: 248.9 kB / 0.7842 GB, free: 21.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.571, allocations: 7.428 MB / 0.7914 GB, free: 13.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001159/1.572, allocations: 87.11 kB / 0.7915 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003273/1.576, allocations: 5.214 MB / 0.7966 GB, free: 8.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.578, allocations: 1.442 MB / 0.798 GB, free: 7.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/1.579, allocations: 0.8843 MB / 0.7989 GB, free: 6.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/1.579, allocations: 301.1 kB / 0.7991 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006045/1.585, allocations: 4.467 MB / 0.8035 GB, free: 1.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/1.596, allocations: 10.09 MB / 0.8134 GB, free: 4.566 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2533/1.849, allocations: 15.65 MB / 0.8286 GB, free: 131.1 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/1.849, allocations: 58.22 kB / 0.8287 GB, free: 131.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03335/1.883, allocations: 16.46 MB / 0.8448 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.883, allocations: 93.22 kB / 0.8449 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/1.883, allocations: 196.2 kB / 0.8451 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005965/1.889, allocations: 2.297 MB / 0.8473 GB, free: 125.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009124/1.898, allocations: 2.449 MB / 0.8497 GB, free: 125.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.915, allocations: 13.52 MB / 0.8629 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009572/1.925, allocations: 0.5933 MB / 0.8635 GB, free: 118.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002594/1.928, allocations: 0.5847 MB / 0.864 GB, free: 118.6 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1261): * Single equations (assignments): 1254 * 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.009791/1.937, allocations: 3.621 MB / 0.8676 GB, free: 117 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/1.939, allocations: 0.6377 MB / 0.8682 GB, free: 117 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.955, allocations: 9.195 MB / 0.8772 GB, free: 113.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/1.955, allocations: 43.5 kB / 0.8772 GB, free: 113.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.196e-05/1.955, allocations: 10.69 kB / 0.8772 GB, free: 113.8 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-05/1.955, allocations: 19.5 kB / 0.8773 GB, free: 113.8 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03079/1.986, allocations: 19.38 MB / 0.8962 GB, free: 102.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/1.986, allocations: 8 kB / 0.8962 GB, free: 102.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/1.989, allocations: 0.7042 MB / 0.8969 GB, free: 102.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005025/1.994, allocations: 2.041 MB / 0.8989 GB, free: 100.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007385/1.995, allocations: 75.98 kB / 0.8989 GB, free: 100.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/2.009, allocations: 12.75 MB / 0.9114 GB, free: 87.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/2.009, allocations: 12 kB / 0.9114 GB, free: 87.48 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/2.029, allocations: 14.31 MB / 0.9254 GB, free: 73.14 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004968/2.034, allocations: 1.375 MB / 0.9267 GB, free: 71.74 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/2.035, allocations: 75.36 kB / 0.9268 GB, free: 71.67 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/2.039, allocations: 275.6 kB / 0.9271 GB, free: 71.4 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/2.04, allocations: 238.8 kB / 0.9273 GB, free: 71.17 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/2.04, allocations: 108.8 kB / 0.9274 GB, free: 71.07 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006864/2.047, allocations: 4.786 MB / 0.9321 GB, free: 66.31 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.21e-07/2.047, allocations: 0 / 0.9321 GB, free: 66.31 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009547/2.056, allocations: 1.939 MB / 0.934 GB, free: 64.37 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.0007459/2.057, allocations: 227.3 kB / 0.9342 GB, free: 64.14 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.072, allocations: 10.76 MB / 0.9447 GB, free: 53.41 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.072, allocations: 4.312 kB / 0.9447 GB, free: 53.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006249/2.078, allocations: 4.323 MB / 0.9489 GB, free: 49.05 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/2.09, allocations: 0.8017 MB / 0.9497 GB, free: 48.27 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/2.118, allocations: 22.25 MB / 0.9714 GB, free: 25.93 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00668/2.125, allocations: 5.487 MB / 0.9768 GB, free: 20.41 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008457/2.134, allocations: 3.322 MB / 0.98 GB, free: 17.08 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/2.136, allocations: 459.3 kB / 0.9805 GB, free: 16.63 MB / 0.4982 GB Notification: Performance of SimCode: time 1.072e-06/2.136, allocations: 4 kB / 0.9805 GB, free: 16.63 MB / 0.4982 GB Notification: Performance of Templates: time 0.3334/2.469, allocations: 74.87 MB / 1.054 GB, free: 133.8 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: