Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.01301/0.01301, allocations: 175.8 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.203/2.203, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002078/0.002078, allocations: 116.7 kB / 255.6 MB, free: 11.21 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.3053/0.3053, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007191/0.0007197, allocations: 13.02 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1252, allocations: 54.88 MB / 461.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6443, allocations: 99.54 MB / 0.5475 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.6447, allocations: 81.48 kB / 0.5476 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3238/0.9685, allocations: 80.5 MB / 0.6262 GB, free: 1.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.9685, allocations: 0 / 0.6262 GB, free: 1.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002945/0.9689, allocations: 75.94 kB / 0.6263 GB, free: 1.195 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01899/0.9879, allocations: 4.018 MB / 0.6302 GB, free: 13.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.9879, allocations: 12.03 kB / 0.6302 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003689/0.9916, allocations: 0.6968 MB / 0.6309 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03367/1.025, allocations: 4.282 MB / 0.6351 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01908/1.045, allocations: 4.529 MB / 0.6395 GB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/1.045, allocations: 291.4 kB / 0.6398 GB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002742/1.048, allocations: 383.8 kB / 0.6402 GB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/1.091, allocations: 9.625 MB / 0.6496 GB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000416/1.091, allocations: 51.47 kB / 0.6496 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00244/1.094, allocations: 187.9 kB / 0.6498 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003278/1.097, allocations: 0.9396 MB / 0.6507 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03938/1.136, allocations: 8.132 MB / 0.6587 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09334/1.23, allocations: 43.69 MB / 0.7013 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02273/1.253, allocations: 3.692 MB / 0.7049 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009716/1.254, allocations: 332.2 kB / 0.7052 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.643e-05/1.254, allocations: 59.48 kB / 0.7053 GB, free: 14.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=156): time 8.556e-06/1.254, allocations: 0 / 0.7053 GB, free: 14.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=177): time 0.4221/1.676, allocations: 15.22 MB / 0.7202 GB, free: 122.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/1.676, allocations: 176 kB / 0.7203 GB, free: 122.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008951/1.685, allocations: 3.206 MB / 0.7235 GB, free: 122.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005306/1.686, allocations: 51.61 kB / 0.7235 GB, free: 122.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002868/1.689, allocations: 2.823 MB / 0.7263 GB, free: 121.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.69, allocations: 0.6759 MB / 0.7269 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009032/1.691, allocations: 108.2 kB / 0.727 GB, free: 121.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005759/1.691, allocations: 0.5392 MB / 0.7276 GB, free: 120.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006409/1.698, allocations: 2.126 MB / 0.7296 GB, free: 120.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008939/1.707, allocations: 5.429 MB / 0.7349 GB, free: 116.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009181/1.716, allocations: 3.347 MB / 0.7382 GB, free: 116.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000277/1.716, allocations: 33.56 kB / 0.7382 GB, free: 116.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02945/1.746, allocations: 8.127 MB / 0.7462 GB, free: 115.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.746, allocations: 56.62 kB / 0.7462 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003475/1.747, allocations: 115.9 kB / 0.7463 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007036/1.754, allocations: 0.9308 MB / 0.7472 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/1.767, allocations: 1.28 MB / 0.7485 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/1.788, allocations: 6.275 MB / 0.7546 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008154/1.797, allocations: 317.6 kB / 0.7549 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009944/1.798, allocations: 334.1 kB / 0.7552 GB, free: 114.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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 (670): * Single equations (assignments): 666 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005011/1.803, allocations: 1.965 MB / 0.7572 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009901/1.804, allocations: 318.9 kB / 0.7575 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.814, allocations: 3.461 MB / 0.7608 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/1.814, allocations: 20.61 kB / 0.7609 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/1.814, allocations: 7.625 kB / 0.7609 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-05/1.814, allocations: 11.23 kB / 0.7609 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.839, allocations: 8.496 MB / 0.7692 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/1.839, allocations: 0 / 0.7692 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002836/1.842, allocations: 284.8 kB / 0.7695 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/1.845, allocations: 0.7498 MB / 0.7702 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/1.845, allocations: 30.62 kB / 0.7702 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/1.857, allocations: 5.796 MB / 0.7759 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.857, allocations: 3.953 kB / 0.7759 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.872, allocations: 6.279 MB / 0.782 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/1.874, allocations: 0.6611 MB / 0.7827 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008091/1.875, allocations: 28.8 kB / 0.7827 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002552/1.877, allocations: 102.3 kB / 0.7828 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004957/1.878, allocations: 99.92 kB / 0.7829 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.878, allocations: 43.41 kB / 0.7829 GB, free: 102.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005182/1.883, allocations: 2.253 MB / 0.7851 GB, free: 101.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.883, allocations: 0 / 0.7851 GB, free: 101.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006791/1.89, allocations: 0.9362 MB / 0.786 GB, free: 101.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (137): * Single equations (assignments): 133 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01585/1.906, allocations: 7.093 MB / 0.793 GB, free: 98.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01223/1.918, allocations: 5.161 MB / 0.798 GB, free: 96.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.918, allocations: 0 / 0.798 GB, free: 96.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004995/1.923, allocations: 1.889 MB / 0.7998 GB, free: 94.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/1.927, allocations: 365 kB / 0.8002 GB, free: 94.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4587/2.385, allocations: 112.9 MB / 0.9104 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00715/2.393, allocations: 3.138 MB / 0.9135 GB, free: 133 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009427/2.402, allocations: 1.795 MB / 0.9152 GB, free: 133 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00474/2.407, allocations: 1.7 MB / 0.9169 GB, free: 133 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/2.407, allocations: 0 / 0.9169 GB, free: 133 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/2.584, allocations: 72.92 MB / 0.9881 GB, free: 107 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/2.584, allocations: 220.7 kB / 0.9883 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.078/7.662, allocations: 0 / 0.9883 GB, free: 106.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat