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.001043/0.001043, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009009/0.009009, allocations: 170 kB / 16.26 MB, free: 6.613 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.765/1.765, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3978/0.3978, allocations: 40 MB / 310.7 MB, free: 9.84 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.0005556/0.0005557, allocations: 20 kB / 379.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1515, allocations: 57.97 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4196/0.5711, allocations: 91.28 MB / 0.5163 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06143/0.6327, allocations: 17.9 MB / 0.5338 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02923/0.662, allocations: 391.1 kB / 0.5342 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.6659, allocations: 0.6252 MB / 0.5348 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.6776, allocations: 2.463 MB / 0.5372 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.682, allocations: 0.9365 MB / 0.5381 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01956/0.7015, allocations: 9.779 MB / 0.5476 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.7144, allocations: 7.899 MB / 0.5554 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.7192, allocations: 1.805 MB / 0.5571 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005507/0.7248, allocations: 3.173 MB / 0.5602 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.7258, allocations: 236 kB / 0.5604 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.7294, allocations: 1.314 MB / 0.5617 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002839/0.7322, allocations: 2.805 MB / 0.5645 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004037/0.7363, allocations: 3.215 MB / 0.5676 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.7497, allocations: 10.69 MB / 0.578 GB, free: 7.473 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7498, allocations: 4 kB / 0.5781 GB, free: 7.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.7498, allocations: 0 / 0.5781 GB, free: 7.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004344/0.7502, allocations: 0 / 0.5781 GB, free: 7.469 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.01693/0.7672, allocations: 6.266 MB / 0.5842 GB, free: 1.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.7672, allocations: 8.031 kB / 0.5842 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.7809, allocations: 2.893 MB / 0.587 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.7913, allocations: 4.289 MB / 0.5912 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/0.7917, allocations: 401.7 kB / 0.5916 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.7934, allocations: 0.5035 MB / 0.5921 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/0.8294, allocations: 16.42 MB / 0.6081 GB, free: 7.578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.8297, allocations: 71.36 kB / 0.6082 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000998/0.8307, allocations: 235.8 kB / 0.6084 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00605/0.8368, allocations: 3.166 MB / 0.6115 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03254/0.8693, allocations: 14.15 MB / 0.6253 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3967/1.266, allocations: 60.67 MB / 0.6846 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02411/1.29, allocations: 8.045 MB / 0.6924 GB, free: 98.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008168/1.298, allocations: 4.204 MB / 0.6965 GB, free: 97.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/1.299, allocations: 58.62 kB / 0.6966 GB, free: 97.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/1.299, allocations: 74.88 kB / 0.6966 GB, free: 97.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 1.468e-05/1.299, allocations: 1.375 kB / 0.6966 GB, free: 97.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.1091/1.408, allocations: 35.41 MB / 0.7312 GB, free: 76.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.408, allocations: 222 kB / 0.7314 GB, free: 76.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/1.417, allocations: 6.358 MB / 0.7376 GB, free: 69.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.418, allocations: 81.64 kB / 0.7377 GB, free: 69.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002468/1.421, allocations: 4.541 MB / 0.7422 GB, free: 65.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/1.422, allocations: 1.24 MB / 0.7434 GB, free: 63.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008929/1.423, allocations: 0.7548 MB / 0.7441 GB, free: 63.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/1.423, allocations: 305.1 kB / 0.7444 GB, free: 62.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005147/1.429, allocations: 4.101 MB / 0.7484 GB, free: 58.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007176/1.436, allocations: 8.971 MB / 0.7572 GB, free: 47.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/1.449, allocations: 13.98 MB / 0.7708 GB, free: 31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-05/1.449, allocations: 51.94 kB / 0.7709 GB, free: 30.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02365/1.473, allocations: 14.96 MB / 0.7855 GB, free: 15.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.473, allocations: 76 kB / 0.7855 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000252/1.473, allocations: 168 kB / 0.7857 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005875/1.479, allocations: 2.281 MB / 0.7879 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007073/1.486, allocations: 2.094 MB / 0.79 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/1.503, allocations: 13.51 MB / 0.8032 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/1.513, allocations: 0.5423 MB / 0.8037 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002845/1.516, allocations: 0.5038 MB / 0.8042 GB, free: 12.52 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.009491/1.526, allocations: 3.157 MB / 0.8073 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00212/1.528, allocations: 0.5514 MB / 0.8078 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/1.548, allocations: 8.465 MB / 0.8161 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.886e-05/1.549, allocations: 36 kB / 0.8161 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-05/1.549, allocations: 8 kB / 0.8161 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.802e-05/1.549, allocations: 19.94 kB / 0.8161 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.32/1.869, allocations: 17.41 MB / 0.8332 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/1.869, allocations: 7.031 kB / 0.8332 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/1.872, allocations: 0.5997 MB / 0.8337 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005576/1.878, allocations: 2.035 MB / 0.8357 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008319/1.879, allocations: 66 kB / 0.8358 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/1.896, allocations: 12.72 MB / 0.8482 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.896, allocations: 11.72 kB / 0.8482 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/1.927, allocations: 13.52 MB / 0.8614 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005174/1.932, allocations: 1.255 MB / 0.8627 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002458/1.935, allocations: 57.73 kB / 0.8627 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004979/1.94, allocations: 285.4 kB / 0.863 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/1.941, allocations: 202.2 kB / 0.8632 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006912/1.942, allocations: 94.69 kB / 0.8633 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01125/1.953, allocations: 4.056 MB / 0.8672 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.953, allocations: 0 / 0.8672 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01236/1.965, allocations: 1.74 MB / 0.8689 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.001667/1.967, allocations: 210 kB / 0.8691 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01822/1.985, allocations: 9.88 MB / 0.8788 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.985, allocations: 0 / 0.8788 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007695/1.993, allocations: 4.131 MB / 0.8828 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/2.003, allocations: 0.6887 MB / 0.8835 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/2.035, allocations: 19.66 MB / 0.9027 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007998/2.043, allocations: 4.861 MB / 0.9074 GB, free: 96.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008269/2.051, allocations: 2.918 MB / 0.9103 GB, free: 93.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/2.053, allocations: 399.3 kB / 0.9107 GB, free: 92.72 MB / 0.4981 GB Notification: Performance of SimCode: time 1.853e-06/2.053, allocations: 0 / 0.9107 GB, free: 92.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.1175/2.171, allocations: 67.74 MB / 0.9768 GB, free: 25.07 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: