Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0104/0.01039, allocations: 176.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.096/2.096, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002085/0.002084, allocations: 112.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2619/0.2619, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006491/0.0006492, allocations: 10.91 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1125, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5189/0.6315, allocations: 100.9 MB / 0.5489 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.6318, allocations: 76.14 kB / 0.5489 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5439/1.176, allocations: 130.9 MB / 0.6768 GB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.647e-06/1.176, allocations: 0 / 0.6768 GB, free: 13.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004658/1.176, allocations: 131.9 kB / 0.6769 GB, free: 13.51 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.03126/1.208, allocations: 6.809 MB / 0.6836 GB, free: 6.617 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.208, allocations: 8.031 kB / 0.6836 GB, free: 6.609 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006155/1.214, allocations: 1.183 MB / 0.6847 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0606/1.274, allocations: 7.093 MB / 0.6917 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/1.303, allocations: 7.278 MB / 0.6988 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000823/1.304, allocations: 0.4973 MB / 0.6993 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00412/1.308, allocations: 0.6598 MB / 0.6999 GB, free: 5.801 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05899/1.367, allocations: 16.56 MB / 0.7161 GB, free: 4.051 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005477/1.368, allocations: 75.33 kB / 0.7162 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003547/1.372, allocations: 311.8 kB / 0.7165 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003973/1.376, allocations: 1.574 MB / 0.718 GB, free: 2.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3884/1.764, allocations: 14.09 MB / 0.7318 GB, free: 87.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1372/1.901, allocations: 66.21 MB / 0.7964 GB, free: 54.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04472/1.946, allocations: 7.066 MB / 0.8033 GB, free: 51.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04242/1.989, allocations: 15.06 MB / 0.818 GB, free: 45.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.751e-05/1.989, allocations: 63 kB / 0.8181 GB, free: 45.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=306): time 6.633e-06/1.989, allocations: 4.844 kB / 0.8181 GB, free: 45.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.1347/2.123, allocations: 30.73 MB / 0.8481 GB, free: 33.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/2.124, allocations: 221.5 kB / 0.8483 GB, free: 32.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.136, allocations: 4.706 MB / 0.8529 GB, free: 29.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009693/2.137, allocations: 77.7 kB / 0.853 GB, free: 28.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003891/2.141, allocations: 4.399 MB / 0.8573 GB, free: 25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002262/2.143, allocations: 1.273 MB / 0.8585 GB, free: 23.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/2.145, allocations: 164 kB / 0.8587 GB, free: 23.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008344/2.146, allocations: 0.6493 MB / 0.8593 GB, free: 23.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009653/2.155, allocations: 3.622 MB / 0.8628 GB, free: 20.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0125/2.168, allocations: 8.068 MB / 0.8707 GB, free: 10.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/2.18, allocations: 5.299 MB / 0.8759 GB, free: 6.117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/2.181, allocations: 44 kB / 0.8759 GB, free: 6.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.04021/2.221, allocations: 13.05 MB / 0.8887 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/2.221, allocations: 74.09 kB / 0.8888 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003268/2.221, allocations: 159.9 kB / 0.8889 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007844/2.229, allocations: 1.673 MB / 0.8905 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01407/2.243, allocations: 1.923 MB / 0.8924 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3984/2.642, allocations: 11.7 MB / 0.9039 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/2.652, allocations: 495.5 kB / 0.9043 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002355/2.654, allocations: 484.4 kB / 0.9048 GB, free: 93.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (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.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 (996): * Single equations (assignments): 991 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01025/2.665, allocations: 3.083 MB / 0.9078 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/2.666, allocations: 0.5 MB / 0.9083 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/2.693, allocations: 7.455 MB / 0.9156 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001253/2.694, allocations: 37.38 kB / 0.9156 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.851e-05/2.694, allocations: 9.5 kB / 0.9156 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/2.694, allocations: 20.53 kB / 0.9156 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06658/2.76, allocations: 16.1 MB / 0.9314 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-05/2.761, allocations: 0 / 0.9314 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01057/2.771, allocations: 0.6001 MB / 0.9319 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/2.782, allocations: 1.418 MB / 0.9333 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001394/2.784, allocations: 65 kB / 0.9334 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03413/2.818, allocations: 10.86 MB / 0.944 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/2.818, allocations: 0 / 0.944 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04341/2.861, allocations: 12.03 MB / 0.9557 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004506/2.866, allocations: 1.096 MB / 0.9568 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002013/2.868, allocations: 59.33 kB / 0.9569 GB, free: 87.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/2.874, allocations: 255.1 kB / 0.9571 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/2.876, allocations: 197.4 kB / 0.9573 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006365/2.876, allocations: 98.61 kB / 0.9574 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01005/2.886, allocations: 3.313 MB / 0.9606 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.11e-07/2.886, allocations: 3.609 kB / 0.9606 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01021/2.897, allocations: 1.613 MB / 0.9622 GB, free: 86.09 MB / 0.4948 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 (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.03213/2.929, allocations: 12.88 MB / 0.9748 GB, free: 80.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02153/2.95, allocations: 8.967 MB / 0.9835 GB, free: 77.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/2.95, allocations: 1.125 kB / 0.9835 GB, free: 77.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/2.962, allocations: 3.78 MB / 0.9872 GB, free: 76.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008951/2.971, allocations: 0.6164 MB / 0.9878 GB, free: 75.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5741/3.545, allocations: 164.5 MB / 1.149 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01202/3.557, allocations: 4.927 MB / 1.153 GB, free: 82.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01358/3.571, allocations: 2.651 MB / 1.156 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008785/3.58, allocations: 3.05 MB / 1.159 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.783e-06/3.58, allocations: 0 / 1.159 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6724/4.252, allocations: 122.7 MB / 1.279 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/4.253, allocations: 203.8 kB / 1.279 GB, free: 91.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/11.9, allocations: 2.953 kB / 1.279 GB, free: 91.86 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat