Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00999/0.00999, allocations: 99.25 kB / 15.73 MB, free: 6.484 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.002138/0.002137, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3653/0.3653, allocations: 39.94 MB / 309.8 MB, free: 9.426 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.001693/0.001693, allocations: 71.89 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3745, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01846/0.393, allocations: 16.17 MB / 0.4969 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.4063, allocations: 5.11 MB / 0.5019 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005325/0.4117, allocations: 108.3 kB / 0.502 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008557/0.4203, allocations: 4.557 MB / 0.5065 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.4307, allocations: 2.571 MB / 0.509 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.4348, allocations: 1.156 MB / 0.5101 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01256/0.4474, allocations: 6.64 MB / 0.5166 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.4581, allocations: 5.884 MB / 0.5224 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00634/0.4645, allocations: 2.508 MB / 0.5248 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006444/0.471, allocations: 3.415 MB / 0.5281 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00242/0.4734, allocations: 0.5665 MB / 0.5287 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.4786, allocations: 1.572 MB / 0.5302 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006334/0.485, allocations: 3.125 MB / 0.5333 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01032/0.4953, allocations: 3.589 MB / 0.5368 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01934/0.5147, allocations: 11.49 MB / 0.548 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.5148, allocations: 0 / 0.548 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5148, allocations: 0 / 0.548 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004398/0.5152, allocations: 4 kB / 0.548 GB, free: 11.66 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02508/0.5403, allocations: 7.759 MB / 0.5556 GB, free: 3.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7e-05/0.5404, allocations: 15.89 kB / 0.5556 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.5553, allocations: 2.828 MB / 0.5584 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.5677, allocations: 4.356 MB / 0.5626 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005206/0.5683, allocations: 381.8 kB / 0.563 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002986/0.5713, allocations: 0.5036 MB / 0.5635 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04055/0.6119, allocations: 16.41 MB / 0.5795 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004135/0.6123, allocations: 67.45 kB / 0.5796 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002816/0.6151, allocations: 235.8 kB / 0.5798 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006817/0.622, allocations: 3.158 MB / 0.5829 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03464/0.6567, allocations: 14.26 MB / 0.5968 GB, free: 8.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4262/1.083, allocations: 58.91 MB / 0.6543 GB, free: 87.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/1.102, allocations: 7.164 MB / 0.6613 GB, free: 86.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006282/1.108, allocations: 4.499 MB / 0.6657 GB, free: 84.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02739/1.136, allocations: 15.45 MB / 0.6808 GB, free: 78.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/1.136, allocations: 67.31 kB / 0.6809 GB, free: 78.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=306): time 5.631e-06/1.136, allocations: 3.75 kB / 0.6809 GB, free: 78.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348): time 0.07663/1.212, allocations: 33.18 MB / 0.7133 GB, free: 56.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/1.212, allocations: 218.9 kB / 0.7135 GB, free: 56.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00684/1.219, allocations: 5.376 MB / 0.7187 GB, free: 50.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.22, allocations: 77.7 kB / 0.7188 GB, free: 50.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/1.223, allocations: 4.496 MB / 0.7232 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00197/1.225, allocations: 1.343 MB / 0.7245 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002156/1.227, allocations: 1.73 MB / 0.7262 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/1.227, allocations: 301.1 kB / 0.7265 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004611/1.232, allocations: 3.921 MB / 0.7303 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006394/1.238, allocations: 8.42 MB / 0.7385 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.251, allocations: 13.23 MB / 0.7515 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.251, allocations: 47.98 kB / 0.7515 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02427/1.275, allocations: 14.3 MB / 0.7655 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/1.275, allocations: 68 kB / 0.7655 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/1.276, allocations: 164.1 kB / 0.7657 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/1.281, allocations: 2.258 MB / 0.7679 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007686/1.289, allocations: 1.992 MB / 0.7698 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/1.308, allocations: 14.41 MB / 0.7839 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007534/1.316, allocations: 0.5072 MB / 0.7844 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/1.318, allocations: 487 kB / 0.7849 GB, free: 10.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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 {(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.007527/1.325, allocations: 3.087 MB / 0.7879 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00187/1.327, allocations: 0.52 MB / 0.7884 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/1.345, allocations: 8.394 MB / 0.7966 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.672e-05/1.345, allocations: 36 kB / 0.7966 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/1.345, allocations: 12 kB / 0.7966 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.607e-05/1.345, allocations: 19.88 kB / 0.7967 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03044/1.376, allocations: 16.94 MB / 0.8132 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/1.376, allocations: 4.469 kB / 0.8132 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.379, allocations: 0.6124 MB / 0.8138 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005263/1.384, allocations: 2.042 MB / 0.8158 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/1.384, allocations: 63.98 kB / 0.8159 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/1.402, allocations: 13.75 MB / 0.8293 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.402, allocations: 3.938 kB / 0.8293 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/1.423, allocations: 13.2 MB / 0.8422 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.426, allocations: 1.165 MB / 0.8433 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009066/1.427, allocations: 55.98 kB / 0.8434 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/1.43, allocations: 259.4 kB / 0.8436 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005972/1.43, allocations: 198.2 kB / 0.8438 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.431, allocations: 87.98 kB / 0.8439 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00496/1.436, allocations: 3.37 MB / 0.8472 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/1.436, allocations: 0 / 0.8472 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007199/1.443, allocations: 1.691 MB / 0.8488 GB, free: 8.801 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (294): * Single equations (assignments): 289 * 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.0005968/1.443, allocations: 211.7 kB / 0.849 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.458, allocations: 9.563 MB / 0.8584 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.458, allocations: 0 / 0.8584 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007071/1.465, allocations: 4.111 MB / 0.8624 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005694/1.471, allocations: 0.6832 MB / 0.8631 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3396/1.81, allocations: 15.9 MB / 0.8786 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008846/1.819, allocations: 4.8 MB / 0.8833 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007756/1.827, allocations: 2.642 MB / 0.8859 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/1.829, allocations: 377.8 kB / 0.8862 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.412e-06/1.829, allocations: 0 / 0.8862 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.1037/1.933, allocations: 65.93 MB / 0.9506 GB, free: 170.2 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)