Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001096/0.001096, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001118/0.001118, allocations: 194 kB / 16.14 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.634/1.634, allocations: 205.1 MB / 222 MB, free: 4.758 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.402/0.402, allocations: 37.98 MB / 307.3 MB, free: 10.1 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.001353/0.001353, allocations: 71.89 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3554/0.4856, allocations: 97.55 MB / 0.5162 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06453/0.5502, allocations: 18.65 MB / 0.5344 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03266/0.5829, allocations: 421 kB / 0.5348 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.5954, allocations: 4.836 MB / 0.5395 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.6099, allocations: 2.605 MB / 0.5421 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.6143, allocations: 1.071 MB / 0.5431 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.6306, allocations: 10.22 MB / 0.5531 GB, free: 164 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009447/0.6401, allocations: 5.97 MB / 0.5589 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006011/0.6462, allocations: 2.316 MB / 0.5612 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006902/0.6532, allocations: 3.789 MB / 0.5649 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002326/0.6555, allocations: 412 kB / 0.5653 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004999/0.6606, allocations: 1.514 MB / 0.5667 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004746/0.6653, allocations: 3.175 MB / 0.5698 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00704/0.6724, allocations: 3.623 MB / 0.5734 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.688, allocations: 11.4 MB / 0.5845 GB, free: 15.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6881, allocations: 4 kB / 0.5845 GB, free: 15.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6881, allocations: 0 / 0.5845 GB, free: 15.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004764/0.6886, allocations: 0 / 0.5845 GB, free: 15.85 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02357/0.7121, allocations: 8.069 MB / 0.5924 GB, free: 7.695 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/0.7122, allocations: 12.03 kB / 0.5924 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.726, allocations: 2.869 MB / 0.5952 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.7375, allocations: 4.553 MB / 0.5997 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/0.738, allocations: 398.2 kB / 0.6 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002695/0.7407, allocations: 0.5229 MB / 0.6006 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/0.7783, allocations: 16.91 MB / 0.6171 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000335/0.7787, allocations: 67.45 kB / 0.6171 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001592/0.7803, allocations: 243.8 kB / 0.6174 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005742/0.7861, allocations: 3.26 MB / 0.6205 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.463/1.249, allocations: 14.51 MB / 0.6347 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09243/1.342, allocations: 62.74 MB / 0.696 GB, free: 101 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/1.362, allocations: 6.903 MB / 0.7027 GB, free: 98.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007046/1.369, allocations: 4.246 MB / 0.7069 GB, free: 96.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02138/1.391, allocations: 9.679 MB / 0.7163 GB, free: 91.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/1.391, allocations: 60.88 kB / 0.7164 GB, free: 91.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 5.47e-06/1.391, allocations: 3.938 kB / 0.7164 GB, free: 91.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.08487/1.476, allocations: 34.77 MB / 0.7503 GB, free: 59.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.476, allocations: 248.2 kB / 0.7506 GB, free: 59.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.486, allocations: 6.747 MB / 0.7572 GB, free: 52.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001142/1.487, allocations: 83.81 kB / 0.7573 GB, free: 52.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.49, allocations: 4.749 MB / 0.7619 GB, free: 47.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001794/1.492, allocations: 1.265 MB / 0.7631 GB, free: 46.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002998/1.495, allocations: 1.88 MB / 0.765 GB, free: 44.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/1.495, allocations: 309.1 kB / 0.7653 GB, free: 44.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005551/1.5, allocations: 4.067 MB / 0.7692 GB, free: 40.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008474/1.509, allocations: 9.143 MB / 0.7782 GB, free: 28.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.524, allocations: 14.17 MB / 0.792 GB, free: 11.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/1.524, allocations: 52 kB / 0.792 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02912/1.553, allocations: 15.11 MB / 0.8068 GB, free: 12.56 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.553, allocations: 84 kB / 0.8069 GB, free: 12.48 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000267/1.554, allocations: 176.8 kB / 0.807 GB, free: 12.31 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00657/1.56, allocations: 2.284 MB / 0.8093 GB, free: 10.02 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009426/1.57, allocations: 2.152 MB / 0.8114 GB, free: 7.859 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3246/1.894, allocations: 13.5 MB / 0.8246 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009562/1.904, allocations: 0.5457 MB / 0.8251 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002317/1.906, allocations: 0.5349 MB / 0.8256 GB, free: 143.4 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.006767/1.913, allocations: 3.289 MB / 0.8288 GB, free: 142.3 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.915, allocations: 0.5727 MB / 0.8294 GB, free: 142.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.929, allocations: 8.464 MB / 0.8377 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/1.929, allocations: 34.22 kB / 0.8377 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-05/1.929, allocations: 9.406 kB / 0.8377 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.978e-05/1.929, allocations: 18.81 kB / 0.8377 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04751/1.976, allocations: 17.11 MB / 0.8544 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-05/1.976, allocations: 3.812 kB / 0.8544 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/1.98, allocations: 0.5776 MB / 0.855 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006572/1.987, allocations: 2.041 MB / 0.857 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001103/1.988, allocations: 63.58 kB / 0.857 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/2.009, allocations: 12.73 MB / 0.8695 GB, free: 126.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/2.009, allocations: 10.56 kB / 0.8695 GB, free: 126.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02628/2.036, allocations: 13.1 MB / 0.8823 GB, free: 122 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/2.04, allocations: 1.236 MB / 0.8835 GB, free: 121.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003243/2.043, allocations: 59.75 kB / 0.8835 GB, free: 121.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/2.048, allocations: 244.9 kB / 0.8838 GB, free: 121.5 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/2.049, allocations: 201.2 kB / 0.884 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006613/2.05, allocations: 88.12 kB / 0.884 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009137/2.059, allocations: 4.345 MB / 0.8883 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.7e-07/2.059, allocations: 3.75 kB / 0.8883 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01185/2.071, allocations: 1.78 MB / 0.89 GB, free: 118.1 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.001574/2.073, allocations: 203.9 kB / 0.8902 GB, free: 118 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01841/2.091, allocations: 9.797 MB / 0.8998 GB, free: 108.3 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/2.091, allocations: 0 / 0.8998 GB, free: 108.3 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.009455/2.101, allocations: 3.989 MB / 0.9037 GB, free: 104.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007977/2.109, allocations: 0.7318 MB / 0.9044 GB, free: 103.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/2.14, allocations: 20.02 MB / 0.924 GB, free: 83.61 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005856/2.146, allocations: 5.036 MB / 0.9289 GB, free: 78.55 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00767/2.153, allocations: 2.981 MB / 0.9318 GB, free: 75.56 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/2.155, allocations: 419.3 kB / 0.9322 GB, free: 75.15 MB / 0.4982 GB Notification: Performance of SimCode: time 8.61e-07/2.155, allocations: 0 / 0.9322 GB, free: 75.15 MB / 0.4982 GB Notification: Performance of Templates: time 0.1335/2.289, allocations: 70.25 MB / 1.001 GB, free: 4.969 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)