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.001665/0.001664, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.665/1.665, allocations: 205.1 MB / 222.4 MB, free: 4.539 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.4052/0.4052, allocations: 39.93 MB / 309.7 MB, free: 9.305 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.001893/0.001894, allocations: 74.95 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1495, allocations: 56.89 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.02064/0.1702, allocations: 16.51 MB / 451 MB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.336/0.5063, allocations: 5.119 MB / 456.1 MB, free: 36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005502/0.512, allocations: 100 kB / 456.2 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008617/0.5207, allocations: 4.586 MB / 460.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009493/0.5302, allocations: 2.621 MB / 463.4 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.5342, allocations: 1.13 MB / 464.6 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01289/0.5471, allocations: 6.696 MB / 471.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009459/0.5567, allocations: 5.8 MB / 477.1 MB, free: 31.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008749/0.5655, allocations: 2.472 MB / 479.5 MB, free: 30.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009132/0.5747, allocations: 3.459 MB / 483 MB, free: 29.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002647/0.5774, allocations: 0.565 MB / 483.6 MB, free: 29.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005727/0.5831, allocations: 1.564 MB / 485.1 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006099/0.5892, allocations: 3.176 MB / 488.3 MB, free: 27.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.6005, allocations: 3.64 MB / 491.9 MB, free: 25.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02566/0.6262, allocations: 11.18 MB / 0.4913 GB, free: 20.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.6263, allocations: 8 kB / 0.4913 GB, free: 20.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.167e-06/0.6263, allocations: 0 / 0.4913 GB, free: 20.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000869/0.6272, allocations: 5.078 kB / 0.4913 GB, free: 20.56 MB / 382.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.03617/0.6634, allocations: 7.68 MB / 0.4988 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.6634, allocations: 13.02 kB / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.6801, allocations: 2.825 MB / 0.5016 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.6952, allocations: 4.301 MB / 0.5058 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/0.696, allocations: 390.1 kB / 0.5062 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004144/0.7001, allocations: 0.5049 MB / 0.5067 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0464/0.7466, allocations: 16.4 MB / 0.5227 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004013/0.747, allocations: 59.38 kB / 0.5228 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003013/0.75, allocations: 245.5 kB / 0.523 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006625/0.7567, allocations: 3.16 MB / 0.5261 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03783/0.7945, allocations: 14.14 MB / 0.5399 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09978/0.8944, allocations: 60.63 MB / 0.5991 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0209/0.9153, allocations: 8.015 MB / 0.6069 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006577/0.9219, allocations: 4.203 MB / 0.611 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.9222, allocations: 63.98 kB / 0.6111 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/0.9223, allocations: 60.5 kB / 0.6111 GB, free: 14.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 8.176e-06/0.9223, allocations: 0 / 0.6111 GB, free: 14.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.4043/1.327, allocations: 35.38 MB / 0.6457 GB, free: 138.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/1.327, allocations: 215.7 kB / 0.6459 GB, free: 138 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.337, allocations: 6.374 MB / 0.6521 GB, free: 135.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.338, allocations: 78.09 kB / 0.6522 GB, free: 135.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003292/1.342, allocations: 4.544 MB / 0.6566 GB, free: 132.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002311/1.344, allocations: 1.245 MB / 0.6578 GB, free: 131.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003332/1.347, allocations: 1.811 MB / 0.6596 GB, free: 130.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/1.347, allocations: 301.6 kB / 0.6599 GB, free: 130.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007019/1.354, allocations: 4.101 MB / 0.6639 GB, free: 128.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01492/1.369, allocations: 8.962 MB / 0.6726 GB, free: 120.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01905/1.388, allocations: 13.98 MB / 0.6863 GB, free: 110.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004265/1.389, allocations: 49.41 kB / 0.6864 GB, free: 110.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.0385/1.427, allocations: 14.97 MB / 0.701 GB, free: 101.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005373/1.428, allocations: 76 kB / 0.701 GB, free: 101.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006267/1.429, allocations: 170.1 kB / 0.7012 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006501/1.435, allocations: 2.281 MB / 0.7034 GB, free: 99.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009236/1.444, allocations: 2.099 MB / 0.7055 GB, free: 98.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.462, allocations: 14.45 MB / 0.7196 GB, free: 83.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/1.473, allocations: 0.5422 MB / 0.7201 GB, free: 83.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003204/1.477, allocations: 0.5077 MB / 0.7206 GB, free: 82.79 MB / 494.1 MB 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.01188/1.489, allocations: 3.161 MB / 0.7237 GB, free: 79.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003303/1.492, allocations: 0.5515 MB / 0.7242 GB, free: 79.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/1.512, allocations: 8.462 MB / 0.7325 GB, free: 70.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/1.512, allocations: 39.94 kB / 0.7325 GB, free: 70.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.83e-05/1.512, allocations: 8 kB / 0.7325 GB, free: 70.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.384e-05/1.512, allocations: 19.94 kB / 0.7326 GB, free: 70.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03532/1.547, allocations: 17.42 MB / 0.7496 GB, free: 52.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/1.547, allocations: 5.438 kB / 0.7496 GB, free: 52.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/1.55, allocations: 0.6006 MB / 0.7502 GB, free: 52.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004767/1.555, allocations: 2.042 MB / 0.7522 GB, free: 50.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006271/1.556, allocations: 63.98 kB / 0.7522 GB, free: 50.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.57, allocations: 13.65 MB / 0.7656 GB, free: 36.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.57, allocations: 8.875 kB / 0.7656 GB, free: 36.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/1.59, allocations: 13.52 MB / 0.7788 GB, free: 22.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004582/1.595, allocations: 1.243 MB / 0.78 GB, free: 21.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002323/1.597, allocations: 56 kB / 0.78 GB, free: 21.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004938/1.602, allocations: 287.5 kB / 0.7803 GB, free: 21.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008528/1.603, allocations: 197.8 kB / 0.7805 GB, free: 20.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/1.603, allocations: 91.73 kB / 0.7806 GB, free: 20.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007234/1.611, allocations: 4.053 MB / 0.7845 GB, free: 16.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.611, allocations: 0 / 0.7845 GB, free: 16.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01278/1.623, allocations: 1.751 MB / 0.7863 GB, free: 14.98 MB / 494.1 MB 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.001118/1.625, allocations: 206 kB / 0.7865 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02551/1.65, allocations: 14.51 MB / 0.8006 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.072e-05/1.65, allocations: 4 kB / 0.8006 GB, free: 280 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008441/1.659, allocations: 4.134 MB / 0.8047 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00729/1.666, allocations: 0.7318 MB / 0.8054 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2945/1.96, allocations: 16.38 MB / 0.8214 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007333/1.968, allocations: 4.848 MB / 0.8261 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00794/1.976, allocations: 2.92 MB / 0.829 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.978, allocations: 400 kB / 0.8293 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.253e-06/1.978, allocations: 4 kB / 0.8293 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.135/2.113, allocations: 71.83 MB / 0.8995 GB, free: 97.19 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)