Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001223/0.001223, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.641/1.641, allocations: 205.1 MB / 222 MB, free: 4.777 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.4251/0.4251, allocations: 39.93 MB / 309.3 MB, free: 9.633 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.00194/0.001939, allocations: 59.92 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 56.89 MB / 433.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4257/0.5885, allocations: 93.46 MB / 0.5149 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06888/0.6575, allocations: 17.97 MB / 0.5325 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03687/0.6944, allocations: 393.8 kB / 0.5328 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.7064, allocations: 4.578 MB / 0.5373 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.7183, allocations: 2.452 MB / 0.5397 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.7227, allocations: 1.049 MB / 0.5407 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01764/0.7404, allocations: 9.792 MB / 0.5503 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008971/0.7494, allocations: 5.679 MB / 0.5558 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/0.7557, allocations: 2.191 MB / 0.558 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008938/0.7646, allocations: 3.657 MB / 0.5615 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00393/0.7686, allocations: 400 kB / 0.5619 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006143/0.7748, allocations: 1.478 MB / 0.5634 GB, free: 4.371 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005171/0.78, allocations: 3.047 MB / 0.5663 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0075/0.7876, allocations: 3.479 MB / 0.5697 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.8054, allocations: 11.02 MB / 0.5805 GB, free: 2.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.8055, allocations: 0 / 0.5805 GB, free: 2.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.8055, allocations: 0 / 0.5805 GB, free: 2.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005835/0.8061, allocations: 4 kB / 0.5805 GB, free: 2.762 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02946/0.8356, allocations: 7.677 MB / 0.588 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.8356, allocations: 8.031 kB / 0.588 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.8503, allocations: 2.834 MB / 0.5908 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.8633, allocations: 4.297 MB / 0.595 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005459/0.8639, allocations: 385.8 kB / 0.5953 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/0.8668, allocations: 0.5074 MB / 0.5958 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04124/0.9081, allocations: 16.4 MB / 0.6118 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006773/0.9088, allocations: 71.38 kB / 0.6119 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003357/0.9122, allocations: 243.8 kB / 0.6121 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006675/0.9189, allocations: 3.158 MB / 0.6152 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.354/1.273, allocations: 14.13 MB / 0.629 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08964/1.363, allocations: 60.63 MB / 0.6882 GB, free: 100.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02387/1.387, allocations: 8.01 MB / 0.6961 GB, free: 98.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008689/1.395, allocations: 4.209 MB / 0.7002 GB, free: 96.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/1.396, allocations: 59.52 kB / 0.7002 GB, free: 96.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/1.396, allocations: 63.19 kB / 0.7003 GB, free: 96.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 1.245e-05/1.396, allocations: 0 / 0.7003 GB, free: 96.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.1062/1.502, allocations: 35.39 MB / 0.7349 GB, free: 72.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.502, allocations: 218.1 kB / 0.7351 GB, free: 72.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/1.515, allocations: 6.37 MB / 0.7413 GB, free: 65.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.516, allocations: 77.7 kB / 0.7414 GB, free: 65.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003271/1.519, allocations: 4.536 MB / 0.7458 GB, free: 61.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002245/1.522, allocations: 1.238 MB / 0.747 GB, free: 59.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005204/1.527, allocations: 1.816 MB / 0.7488 GB, free: 58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/1.527, allocations: 305.1 kB / 0.7491 GB, free: 57.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006353/1.533, allocations: 4.109 MB / 0.7531 GB, free: 53.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007763/1.541, allocations: 8.96 MB / 0.7618 GB, free: 42.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/1.555, allocations: 13.97 MB / 0.7755 GB, free: 25.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.555, allocations: 48 kB / 0.7755 GB, free: 25.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02659/1.582, allocations: 14.96 MB / 0.7901 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.582, allocations: 76 kB / 0.7902 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/1.582, allocations: 172 kB / 0.7904 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005371/1.588, allocations: 2.276 MB / 0.7926 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007722/1.595, allocations: 2.094 MB / 0.7946 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/1.612, allocations: 13.51 MB / 0.8078 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/1.623, allocations: 0.546 MB / 0.8084 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/1.626, allocations: 0.5078 MB / 0.8088 GB, free: 7.402 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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 (1084): * Single equations (assignments): 1079 * 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.009911/1.635, allocations: 3.153 MB / 0.8119 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002354/1.638, allocations: 0.5521 MB / 0.8125 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3086/1.946, allocations: 8.457 MB / 0.8207 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-05/1.947, allocations: 34.94 kB / 0.8208 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/1.947, allocations: 9.438 kB / 0.8208 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/1.947, allocations: 19.69 kB / 0.8208 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03452/1.981, allocations: 17.42 MB / 0.8378 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/1.981, allocations: 5.781 kB / 0.8378 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/1.984, allocations: 0.6021 MB / 0.8384 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005053/1.99, allocations: 2.04 MB / 0.8404 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006745/1.99, allocations: 61.2 kB / 0.8404 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/2.009, allocations: 12.71 MB / 0.8528 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.009, allocations: 4.375 kB / 0.8529 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02683/2.036, allocations: 13.52 MB / 0.8661 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004395/2.04, allocations: 1.236 MB / 0.8673 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/2.043, allocations: 55.69 kB / 0.8673 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004833/2.048, allocations: 277.9 kB / 0.8676 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/2.049, allocations: 207.1 kB / 0.8678 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005996/2.049, allocations: 90.89 kB / 0.8679 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009246/2.059, allocations: 4.053 MB / 0.8718 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/2.059, allocations: 0 / 0.8718 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01057/2.069, allocations: 1.739 MB / 0.8735 GB, free: 127.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.001376/2.071, allocations: 210.6 kB / 0.8737 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0178/2.089, allocations: 9.891 MB / 0.8834 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/2.089, allocations: 0 / 0.8834 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008742/2.097, allocations: 4.141 MB / 0.8874 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/2.108, allocations: 0.6916 MB / 0.8881 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/2.143, allocations: 19.49 MB / 0.9071 GB, free: 97.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008579/2.152, allocations: 4.861 MB / 0.9119 GB, free: 92.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009006/2.161, allocations: 2.914 MB / 0.9147 GB, free: 89.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002638/2.164, allocations: 399.3 kB / 0.9151 GB, free: 89.13 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/2.164, allocations: 0 / 0.9151 GB, free: 89.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.1101/2.274, allocations: 69.14 MB / 0.9826 GB, free: 20.08 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)