Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001151/0.001151, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3149/0.3149, allocations: 39.99 MB / 310.4 MB, free: 9.656 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.0005164/0.0005166, allocations: 24 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 57.96 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.2756/0.3914, allocations: 83.6 MB / 0.5082 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04904/0.4405, allocations: 18.7 MB / 0.5264 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02047/0.461, allocations: 415.2 kB / 0.5268 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01799/0.479, allocations: 4.207 MB / 0.5309 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04733/0.5264, allocations: 11.92 MB / 0.5426 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006198/0.5326, allocations: 0.9092 MB / 0.5435 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04531/0.5779, allocations: 27.51 MB / 0.5703 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.5899, allocations: 7.368 MB / 0.5775 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.5936, allocations: 1.666 MB / 0.5792 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003847/0.5975, allocations: 2.254 MB / 0.5814 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.5987, allocations: 244 kB / 0.5816 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.6017, allocations: 1.108 MB / 0.5827 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003211/0.605, allocations: 2.673 MB / 0.5853 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.6067, allocations: 1.384 MB / 0.5866 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.6177, allocations: 9.317 MB / 0.5957 GB, free: 4.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6177, allocations: 0 / 0.5957 GB, free: 4.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6178, allocations: 0 / 0.5957 GB, free: 4.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004772/0.6182, allocations: 0 / 0.5957 GB, free: 4.59 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01684/0.6351, allocations: 7.094 MB / 0.6027 GB, free: 13.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6351, allocations: 12.03 kB / 0.6027 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04474/0.6799, allocations: 8.33 MB / 0.6108 GB, free: 5.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.691, allocations: 4.836 MB / 0.6155 GB, free: 136 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.6914, allocations: 398.2 kB / 0.6159 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/0.6933, allocations: 0.5257 MB / 0.6164 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3982/1.092, allocations: 16.94 MB / 0.633 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002354/1.092, allocations: 63.66 kB / 0.633 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007885/1.093, allocations: 248 kB / 0.6333 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005/1.098, allocations: 3.255 MB / 0.6364 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02892/1.127, allocations: 14.41 MB / 0.6505 GB, free: 135.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08191/1.209, allocations: 62.56 MB / 0.7116 GB, free: 93.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/1.226, allocations: 6.975 MB / 0.7184 GB, free: 89.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/1.245, allocations: 9.522 MB / 0.7277 GB, free: 80.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/1.245, allocations: 68.88 kB / 0.7278 GB, free: 80.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 8.325e-06/1.245, allocations: 0 / 0.7278 GB, free: 80.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.08656/1.331, allocations: 34.13 MB / 0.7611 GB, free: 46.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.332, allocations: 240.2 kB / 0.7613 GB, free: 45.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008106/1.34, allocations: 6.971 MB / 0.7681 GB, free: 38.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008399/1.341, allocations: 77.7 kB / 0.7682 GB, free: 38.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/1.343, allocations: 4.806 MB / 0.7729 GB, free: 33.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.344, allocations: 1.255 MB / 0.7741 GB, free: 32.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/1.344, allocations: 180.7 kB / 0.7743 GB, free: 32.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003278/1.345, allocations: 0.689 MB / 0.775 GB, free: 31.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/1.349, allocations: 3.816 MB / 0.7787 GB, free: 28.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006437/1.356, allocations: 8.835 MB / 0.7873 GB, free: 16.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006782/1.363, allocations: 5.683 MB / 0.7929 GB, free: 11.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.082e-05/1.363, allocations: 48 kB / 0.7929 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.02096/1.384, allocations: 14.06 MB / 0.8067 GB, free: 12.92 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.384, allocations: 80 kB / 0.8067 GB, free: 12.84 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/1.384, allocations: 176 kB / 0.8069 GB, free: 12.67 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004272/1.388, allocations: 1.805 MB / 0.8087 GB, free: 10.86 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007467/1.396, allocations: 2.101 MB / 0.8107 GB, free: 8.75 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2314/1.627, allocations: 12.37 MB / 0.8228 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007919/1.635, allocations: 0.5215 MB / 0.8233 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/1.637, allocations: 0.525 MB / 0.8238 GB, free: 137.4 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1087): * Single equations (assignments): 1080 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00901/1.646, allocations: 3.289 MB / 0.827 GB, free: 137.3 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002418/1.649, allocations: 0.5821 MB / 0.8276 GB, free: 137.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/1.664, allocations: 7.703 MB / 0.8351 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.827e-05/1.664, allocations: 36.72 kB / 0.8352 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/1.664, allocations: 9.469 kB / 0.8352 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/1.664, allocations: 17.2 kB / 0.8352 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03386/1.698, allocations: 16.37 MB / 0.8512 GB, free: 129.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.175e-05/1.698, allocations: 3.656 kB / 0.8512 GB, free: 129.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/1.702, allocations: 0.5817 MB / 0.8517 GB, free: 129.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004797/1.707, allocations: 1.532 MB / 0.8532 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009385/1.708, allocations: 62.52 kB / 0.8533 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/1.723, allocations: 11.59 MB / 0.8646 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.723, allocations: 8 kB / 0.8646 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/1.744, allocations: 12.99 MB / 0.8773 GB, free: 117.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004156/1.748, allocations: 1.238 MB / 0.8785 GB, free: 117.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/1.75, allocations: 62.67 kB / 0.8786 GB, free: 117.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003723/1.754, allocations: 227.5 kB / 0.8788 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007742/1.755, allocations: 205 kB / 0.879 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/1.755, allocations: 89.02 kB / 0.8791 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006709/1.762, allocations: 4.521 MB / 0.8835 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.71e-07/1.762, allocations: 2.906 kB / 0.8835 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007575/1.769, allocations: 1.734 MB / 0.8852 GB, free: 115.6 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008472/1.77, allocations: 224.2 kB / 0.8854 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.782, allocations: 9.331 MB / 0.8945 GB, free: 109 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.782, allocations: 0 / 0.8945 GB, free: 109 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005527/1.788, allocations: 3.801 MB / 0.8982 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.792, allocations: 0.7106 MB / 0.8989 GB, free: 105.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.816, allocations: 19.07 MB / 0.9175 GB, free: 86.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005677/1.822, allocations: 5.179 MB / 0.9226 GB, free: 81.09 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008587/1.83, allocations: 2.987 MB / 0.9255 GB, free: 78.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.832, allocations: 419.3 kB / 0.9259 GB, free: 77.69 MB / 0.4982 GB Notification: Performance of SimCode: time 1.773e-06/1.832, allocations: 0 / 0.9259 GB, free: 77.69 MB / 0.4982 GB Notification: Performance of Templates: time 0.09559/1.928, allocations: 66.41 MB / 0.9908 GB, free: 11.37 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: