Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.009932/0.009931, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.649/1.649, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001965/0.001964, allocations: 111 kB / 226.2 MB, free: 10.09 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.4528/0.4528, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005033, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1136, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.553, allocations: 93.05 MB / 0.4929 GB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.5533, allocations: 73.97 kB / 0.493 GB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3341/0.8874, allocations: 76.29 MB / 0.5675 GB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.8875, allocations: 0 / 0.5675 GB, free: 3.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002805/0.8878, allocations: 71.98 kB / 0.5675 GB, free: 3.203 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01651/0.9043, allocations: 3.833 MB / 0.5713 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.9044, allocations: 12.03 kB / 0.5713 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003205/0.9076, allocations: 0.6714 MB / 0.572 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03334/0.941, allocations: 4.32 MB / 0.5762 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/0.9596, allocations: 4.479 MB / 0.5805 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.96, allocations: 275.1 kB / 0.5808 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/0.9621, allocations: 367.8 kB / 0.5812 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3217/1.284, allocations: 9.132 MB / 0.5901 GB, free: 79.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003197/1.284, allocations: 71.22 kB / 0.5901 GB, free: 79.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/1.286, allocations: 180.4 kB / 0.5903 GB, free: 79.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002306/1.288, allocations: 0.8805 MB / 0.5912 GB, free: 79.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/1.311, allocations: 7.315 MB / 0.5983 GB, free: 79.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0589/1.37, allocations: 44.04 MB / 0.6413 GB, free: 50.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01511/1.385, allocations: 3.5 MB / 0.6448 GB, free: 50.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01689/1.402, allocations: 7.202 MB / 0.6518 GB, free: 46.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/1.402, allocations: 47.42 kB / 0.6518 GB, free: 46.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.34e-06/1.402, allocations: 3.031 kB / 0.6518 GB, free: 46.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.108/1.51, allocations: 19.59 MB / 0.671 GB, free: 40 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/1.51, allocations: 198.7 kB / 0.6712 GB, free: 39.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007088/1.517, allocations: 3.298 MB / 0.6744 GB, free: 38.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005067/1.518, allocations: 51.45 kB / 0.6744 GB, free: 38.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/1.52, allocations: 2.823 MB / 0.6772 GB, free: 36.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.521, allocations: 0.7048 MB / 0.6779 GB, free: 35.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006732/1.522, allocations: 114.8 kB / 0.678 GB, free: 35.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003425/1.522, allocations: 0.552 MB / 0.6785 GB, free: 35.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005119/1.527, allocations: 2.001 MB / 0.6805 GB, free: 34.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007814/1.535, allocations: 5.525 MB / 0.6859 GB, free: 29.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007736/1.543, allocations: 3.269 MB / 0.6891 GB, free: 27.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/1.543, allocations: 41.55 kB / 0.6891 GB, free: 27.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.03059/1.574, allocations: 9.116 MB / 0.698 GB, free: 24.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.574, allocations: 69.16 kB / 0.6981 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001929/1.574, allocations: 124.6 kB / 0.6982 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/1.585, allocations: 1.602 MB / 0.6997 GB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007633/1.592, allocations: 1.283 MB / 0.701 GB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02554/1.618, allocations: 9.547 MB / 0.7103 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/1.624, allocations: 311.3 kB / 0.7106 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/1.626, allocations: 356.3 kB / 0.711 GB, free: 19.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (691): * Single equations (assignments): 687 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00559/1.632, allocations: 1.894 MB / 0.7128 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009272/1.633, allocations: 327.7 kB / 0.7131 GB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.65, allocations: 3.922 MB / 0.717 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.863e-05/1.65, allocations: 20 kB / 0.717 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.65, allocations: 8 kB / 0.717 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/1.65, allocations: 12.44 kB / 0.717 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/1.681, allocations: 8.129 MB / 0.7249 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/1.681, allocations: 4 kB / 0.7249 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/1.683, allocations: 240.6 kB / 0.7252 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009113/1.692, allocations: 1.282 MB / 0.7264 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004973/1.693, allocations: 32 kB / 0.7264 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02169/1.715, allocations: 7.826 MB / 0.7341 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.715, allocations: 4 kB / 0.7341 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02941/1.744, allocations: 6.609 MB / 0.7405 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002534/1.747, allocations: 0.602 MB / 0.7411 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.748, allocations: 31.98 kB / 0.7412 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.751, allocations: 93.22 kB / 0.7413 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/1.752, allocations: 109.2 kB / 0.7414 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/1.752, allocations: 47.98 kB / 0.7414 GB, free: 10.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007018/1.759, allocations: 2.297 MB / 0.7436 GB, free: 8.695 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.759, allocations: 0 / 0.7436 GB, free: 8.695 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007643/1.767, allocations: 0.9634 MB / 0.7446 GB, free: 7.738 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (129): * Single equations (assignments): 125 * 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 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02543/1.792, allocations: 7.141 MB / 0.7516 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3325/2.125, allocations: 4.982 MB / 0.7564 GB, free: 94.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.125, allocations: 1.281 kB / 0.7564 GB, free: 94.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004818/2.13, allocations: 1.627 MB / 0.758 GB, free: 93.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/2.133, allocations: 360.5 kB / 0.7584 GB, free: 93.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1228/2.256, allocations: 118.2 MB / 0.8738 GB, free: 25.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008067/2.264, allocations: 3.035 MB / 0.8767 GB, free: 41.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00966/2.274, allocations: 1.813 MB / 0.8785 GB, free: 40.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004441/2.279, allocations: 1.639 MB / 0.8801 GB, free: 40.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/2.279, allocations: 1.094 kB / 0.8801 GB, free: 40.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1957/2.474, allocations: 74.27 MB / 0.9526 GB, free: 7.105 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/2.475, allocations: 206.2 kB / 0.9528 GB, free: 6.859 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.371/7.846, allocations: 0 / 0.9528 GB, free: 6.859 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat