Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Worldtorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01064/0.01064, allocations: 165.9 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.702/1.702, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002137/0.002136, allocations: 111.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4766/0.4766, allocations: 38.05 MB / 303.7 MB, free: 42.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.000515, allocations: 15.98 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/0.5904, allocations: 92.97 MB / 0.4928 GB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.5908, allocations: 74.64 kB / 0.4929 GB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9866/1.577, allocations: 142.7 MB / 0.6322 GB, free: 70.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.366e-06/1.577, allocations: 0 / 0.6322 GB, free: 70.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006587/1.578, allocations: 139.5 kB / 0.6324 GB, free: 70.01 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.03704/1.615, allocations: 7.475 MB / 0.6397 GB, free: 66.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.615, allocations: 10.31 kB / 0.6397 GB, free: 66.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006462/1.622, allocations: 1.232 MB / 0.6409 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0854/1.707, allocations: 9.522 MB / 0.6502 GB, free: 66.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04259/1.75, allocations: 8.881 MB / 0.6588 GB, free: 65.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007928/1.751, allocations: 0.5225 MB / 0.6594 GB, free: 65.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004509/1.755, allocations: 0.7059 MB / 0.66 GB, free: 65.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05421/1.809, allocations: 16.67 MB / 0.6763 GB, free: 56.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007083/1.81, allocations: 98.89 kB / 0.6764 GB, free: 56.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004358/1.815, allocations: 336.2 kB / 0.6767 GB, free: 56.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003615/1.818, allocations: 1.535 MB / 0.6782 GB, free: 56.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0514/1.87, allocations: 13.33 MB / 0.6913 GB, free: 50.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5316/2.401, allocations: 72.55 MB / 0.7621 GB, free: 33.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03512/2.437, allocations: 5.938 MB / 0.7679 GB, free: 32.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/2.437, allocations: 48.62 kB / 0.768 GB, free: 32.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.269e-05/2.437, allocations: 67.88 kB / 0.768 GB, free: 32.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 1.023e-05/2.437, allocations: 0.9844 kB / 0.768 GB, free: 32.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=267): time 0.1134/2.551, allocations: 22.86 MB / 0.7903 GB, free: 27.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/2.551, allocations: 260.9 kB / 0.7906 GB, free: 27.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01853/2.569, allocations: 6.21 MB / 0.7967 GB, free: 26.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007147/2.57, allocations: 65.77 kB / 0.7967 GB, free: 26.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005575/2.576, allocations: 5.046 MB / 0.8016 GB, free: 24.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/2.578, allocations: 1.028 MB / 0.8027 GB, free: 23.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/2.579, allocations: 170.2 kB / 0.8028 GB, free: 23.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006887/2.58, allocations: 0.6688 MB / 0.8035 GB, free: 23.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008141/2.588, allocations: 2.973 MB / 0.8064 GB, free: 23.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/2.6, allocations: 8.213 MB / 0.8144 GB, free: 16.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/2.611, allocations: 4.83 MB / 0.8191 GB, free: 16.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001964/2.612, allocations: 52.19 kB / 0.8192 GB, free: 16.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03137/2.643, allocations: 11.56 MB / 0.8304 GB, free: 13.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/2.643, allocations: 86.69 kB / 0.8305 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/2.643, allocations: 184.9 kB / 0.8307 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/2.646, allocations: 0.8383 MB / 0.8315 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/2.658, allocations: 1.988 MB / 0.8335 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/2.672, allocations: 8.65 MB / 0.8419 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/2.682, allocations: 474.7 kB / 0.8424 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/2.684, allocations: 0.5138 MB / 0.8429 GB, free: 23.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1056): * Single equations (assignments): 1050 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008639/2.693, allocations: 3.316 MB / 0.8461 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001776/2.695, allocations: 0.593 MB / 0.8467 GB, free: 21.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/2.707, allocations: 4.556 MB / 0.8511 GB, free: 19.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/2.707, allocations: 32.34 kB / 0.8512 GB, free: 19.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/2.708, allocations: 9.859 kB / 0.8512 GB, free: 19.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.58e-05/2.708, allocations: 10.59 kB / 0.8512 GB, free: 19.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/2.74, allocations: 11.7 MB / 0.8626 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/2.74, allocations: 0 / 0.8626 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004508/2.745, allocations: 441.9 kB / 0.863 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/2.747, allocations: 0.5193 MB / 0.8635 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006622/2.748, allocations: 52.64 kB / 0.8636 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/2.762, allocations: 7.728 MB / 0.8711 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.762, allocations: 7.266 kB / 0.8711 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02407/2.786, allocations: 8.031 MB / 0.879 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004881/2.791, allocations: 1.019 MB / 0.88 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002359/2.794, allocations: 47.89 kB / 0.88 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005676/2.799, allocations: 153 kB / 0.8802 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.8, allocations: 156.6 kB / 0.8803 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003369/2.801, allocations: 66.86 kB / 0.8804 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02905/2.83, allocations: 5.351 MB / 0.8856 GB, free: 15.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.83, allocations: 0 / 0.8856 GB, free: 15.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0124/2.842, allocations: 1.558 MB / 0.8871 GB, free: 13.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02438/2.867, allocations: 8.88 MB / 0.8958 GB, free: 5.629 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02106/2.888, allocations: 7.505 MB / 0.9031 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/2.888, allocations: 0 / 0.9031 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007105/2.895, allocations: 2.549 MB / 0.9056 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007186/2.902, allocations: 0.7701 MB / 0.9064 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5218/3.424, allocations: 190.5 MB / 1.092 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01448/3.439, allocations: 5.205 MB / 1.098 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01576/3.454, allocations: 2.804 MB / 1.1 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009134/3.464, allocations: 3.356 MB / 1.104 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/3.464, allocations: 1.75 kB / 1.104 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6482/4.112, allocations: 125.4 MB / 1.226 GB, free: 159 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/4.112, allocations: 192.8 kB / 1.226 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/12.06, allocations: 0 / 1.226 GB, free: 158.7 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque_res.mat does not exist to compare? outputFormat=mat