Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00126/0.00126, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001149/0.001149, allocations: 195 kB / 16.25 MB, free: 6.633 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.538/1.538, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.3291/0.3291, allocations: 37.97 MB / 307.4 MB, free: 9.973 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.001425/0.001425, allocations: 72.33 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1403, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3417/0.482, allocations: 89.61 MB / 0.5086 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0546/0.5367, allocations: 17.27 MB / 0.5255 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02905/0.5659, allocations: 379.6 kB / 0.5258 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.577, allocations: 4.394 MB / 0.5301 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.5891, allocations: 2.404 MB / 0.5325 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.5932, allocations: 1.086 MB / 0.5335 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.6056, allocations: 6.874 MB / 0.5403 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009198/0.6148, allocations: 6.182 MB / 0.5463 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008028/0.6229, allocations: 2.562 MB / 0.5488 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007996/0.631, allocations: 3.758 MB / 0.5525 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.6331, allocations: 0.5664 MB / 0.553 GB, free: 316 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/0.6376, allocations: 1.584 MB / 0.5546 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003883/0.6415, allocations: 3.16 MB / 0.5576 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006165/0.6477, allocations: 3.628 MB / 0.5612 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.6616, allocations: 11.13 MB / 0.5721 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.6616, allocations: 0 / 0.5721 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6616, allocations: 0 / 0.5721 GB, free: 12.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004337/0.6621, allocations: 0 / 0.5721 GB, free: 12.74 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02109/0.6832, allocations: 7.563 MB / 0.5794 GB, free: 5.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.6832, allocations: 19.83 kB / 0.5795 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.697, allocations: 2.796 MB / 0.5822 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.7085, allocations: 4.277 MB / 0.5864 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.7089, allocations: 381.7 kB / 0.5867 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002213/0.7111, allocations: 0.4994 MB / 0.5872 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/0.7454, allocations: 16.41 MB / 0.6032 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.7457, allocations: 55.53 kB / 0.6033 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009453/0.7466, allocations: 239.8 kB / 0.6035 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005969/0.7526, allocations: 3.154 MB / 0.6066 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03242/0.7851, allocations: 14.27 MB / 0.6205 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3999/1.185, allocations: 59.12 MB / 0.6783 GB, free: 107 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/1.203, allocations: 7.176 MB / 0.6853 GB, free: 104.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007568/1.211, allocations: 4.496 MB / 0.6897 GB, free: 102.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02823/1.239, allocations: 15.44 MB / 0.7048 GB, free: 95.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/1.239, allocations: 64.41 kB / 0.7048 GB, free: 95.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 6.642e-06/1.239, allocations: 0 / 0.7048 GB, free: 95.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.07601/1.315, allocations: 32.83 MB / 0.7369 GB, free: 73.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.315, allocations: 222.2 kB / 0.7371 GB, free: 73.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007036/1.322, allocations: 5.348 MB / 0.7423 GB, free: 67.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.323, allocations: 77.7 kB / 0.7424 GB, free: 67.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.326, allocations: 4.333 MB / 0.7466 GB, free: 63.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002048/1.328, allocations: 1.285 MB / 0.7479 GB, free: 62.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00253/1.33, allocations: 1.717 MB / 0.7495 GB, free: 60.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/1.33, allocations: 305.1 kB / 0.7498 GB, free: 60.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004968/1.335, allocations: 3.924 MB / 0.7537 GB, free: 56.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00659/1.342, allocations: 8.416 MB / 0.7619 GB, free: 45.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.355, allocations: 13.23 MB / 0.7748 GB, free: 30.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.356, allocations: 44 kB / 0.7749 GB, free: 30.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02479/1.38, allocations: 14.27 MB / 0.7888 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/1.381, allocations: 72 kB / 0.7889 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/1.381, allocations: 156 kB / 0.789 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004947/1.386, allocations: 2.261 MB / 0.7912 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006981/1.393, allocations: 1.992 MB / 0.7932 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/1.409, allocations: 14.43 MB / 0.8073 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008755/1.418, allocations: 0.5032 MB / 0.8077 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/1.42, allocations: 487.9 kB / 0.8082 GB, free: 11.66 MB / 0.4981 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.007726/1.428, allocations: 3.091 MB / 0.8112 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/1.43, allocations: 0.4937 MB / 0.8117 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3034/1.733, allocations: 8.389 MB / 0.8199 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.051e-05/1.733, allocations: 40.12 kB / 0.8199 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-05/1.733, allocations: 13.19 kB / 0.82 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001181/1.733, allocations: 18.52 kB / 0.82 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03038/1.764, allocations: 17.15 MB / 0.8367 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/1.764, allocations: 4.531 kB / 0.8367 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003043/1.767, allocations: 0.6111 MB / 0.8373 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004729/1.772, allocations: 2.05 MB / 0.8393 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004531/1.772, allocations: 62.69 kB / 0.8394 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/1.789, allocations: 13.65 MB / 0.8527 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.789, allocations: 0 / 0.8527 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/1.816, allocations: 13.15 MB / 0.8656 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00387/1.819, allocations: 1.138 MB / 0.8667 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/1.821, allocations: 57.77 kB / 0.8667 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/1.824, allocations: 261.8 kB / 0.867 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008096/1.825, allocations: 198.2 kB / 0.8672 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000296/1.825, allocations: 87.33 kB / 0.8672 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006151/1.831, allocations: 3.368 MB / 0.8705 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.831, allocations: 0 / 0.8705 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009999/1.841, allocations: 1.689 MB / 0.8722 GB, free: 130.3 MB / 0.4981 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.0007736/1.842, allocations: 212.5 kB / 0.8724 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02716/1.869, allocations: 15.24 MB / 0.8873 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.869, allocations: 0 / 0.8873 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008041/1.877, allocations: 4.101 MB / 0.8913 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009366/1.887, allocations: 0.6752 MB / 0.8919 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/1.922, allocations: 19.07 MB / 0.9106 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/1.932, allocations: 4.802 MB / 0.9152 GB, free: 95.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00992/1.942, allocations: 2.639 MB / 0.9178 GB, free: 93.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/1.944, allocations: 379.3 kB / 0.9182 GB, free: 92.95 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/1.944, allocations: 0 / 0.9182 GB, free: 92.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.1141/2.058, allocations: 70.14 MB / 0.9867 GB, free: 22.91 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)