Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",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.01393/0.01393, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.676/1.676, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001938/0.001938, allocations: 99.41 kB / 226.2 MB, free: 10.1 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.4851/0.4851, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.0006451, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1237, allocations: 48.72 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.566, allocations: 99.01 MB / 0.4987 GB, free: 5.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5664, allocations: 74.28 kB / 0.4988 GB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9091/1.475, allocations: 135.6 MB / 0.6312 GB, free: 73.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.475, allocations: 0.9375 kB / 0.6312 GB, free: 73.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005343/1.476, allocations: 135.2 kB / 0.6313 GB, free: 73.46 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.03423/1.51, allocations: 7.653 MB / 0.6388 GB, free: 70.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.51, allocations: 7.562 kB / 0.6388 GB, free: 70.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005795/1.516, allocations: 1.148 MB / 0.6399 GB, free: 70.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05724/1.573, allocations: 7.549 MB / 0.6473 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03579/1.609, allocations: 9.833 MB / 0.6569 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006145/1.61, allocations: 490.4 kB / 0.6574 GB, free: 68.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003851/1.614, allocations: 0.6543 MB / 0.658 GB, free: 68.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05373/1.668, allocations: 16.71 MB / 0.6743 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005457/1.668, allocations: 103.2 kB / 0.6744 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003384/1.672, allocations: 314.3 kB / 0.6747 GB, free: 60.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003789/1.675, allocations: 1.578 MB / 0.6763 GB, free: 59.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04718/1.723, allocations: 13.76 MB / 0.6897 GB, free: 53.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4932/2.216, allocations: 74.31 MB / 0.7623 GB, free: 38.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03958/2.256, allocations: 7.739 MB / 0.7698 GB, free: 38.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04912/2.305, allocations: 18.71 MB / 0.7881 GB, free: 33.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/2.305, allocations: 59.47 kB / 0.7882 GB, free: 33.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 6.712e-06/2.305, allocations: 2.188 kB / 0.7882 GB, free: 33.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=367): time 0.3179/2.623, allocations: 50.5 MB / 0.8375 GB, free: 25.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/2.623, allocations: 275.6 kB / 0.8377 GB, free: 25.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01626/2.639, allocations: 5.378 MB / 0.843 GB, free: 23.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/2.64, allocations: 84.11 kB / 0.8431 GB, free: 23.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004651/2.645, allocations: 4.755 MB / 0.8477 GB, free: 20 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002426/2.648, allocations: 1.352 MB / 0.849 GB, free: 19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/2.649, allocations: 187.2 kB / 0.8492 GB, free: 18.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007957/2.65, allocations: 0.6922 MB / 0.8499 GB, free: 18.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/2.661, allocations: 3.808 MB / 0.8536 GB, free: 17.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01439/2.675, allocations: 8.992 MB / 0.8624 GB, free: 8.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/2.69, allocations: 5.672 MB / 0.8679 GB, free: 3.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002163/2.69, allocations: 52 kB / 0.868 GB, free: 3.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.0746/2.765, allocations: 17.17 MB / 0.8847 GB, free: 7.637 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/2.765, allocations: 80 kB / 0.8848 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004966/2.766, allocations: 184 kB / 0.885 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03354/2.799, allocations: 4.131 MB / 0.889 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01901/2.818, allocations: 2.047 MB / 0.891 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09459/2.913, allocations: 23.01 MB / 0.9135 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01842/2.932, allocations: 0.5461 MB / 0.914 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003512/2.935, allocations: 0.5375 MB / 0.9146 GB, free: 11.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1083): * Single equations (assignments): 1078 * 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%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01489/2.95, allocations: 3.117 MB / 0.9176 GB, free: 8.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00264/2.953, allocations: 0.5747 MB / 0.9182 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0663/3.019, allocations: 9.843 MB / 0.9278 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/3.019, allocations: 36 kB / 0.9278 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.824e-05/3.019, allocations: 24 kB / 0.9278 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.982e-05/3.02, allocations: 15.94 kB / 0.9279 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4171/3.437, allocations: 19.26 MB / 0.9467 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.534e-05/3.437, allocations: 0.7031 kB / 0.9467 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005286/3.442, allocations: 0.5118 MB / 0.9472 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02285/3.465, allocations: 3.609 MB / 0.9507 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/3.466, allocations: 69.83 kB / 0.9508 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05258/3.519, allocations: 19.8 MB / 0.9701 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/3.519, allocations: 3.5 kB / 0.9701 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05184/3.571, allocations: 14.36 MB / 0.9841 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004593/3.575, allocations: 1.126 MB / 0.9852 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002172/3.577, allocations: 58.78 kB / 0.9853 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006497/3.584, allocations: 229.2 kB / 0.9855 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001615/3.586, allocations: 221.7 kB / 0.9857 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004574/3.586, allocations: 97.41 kB / 0.9858 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01035/3.596, allocations: 3.784 MB / 0.9895 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.012e-06/3.597, allocations: 3.781 kB / 0.9895 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01294/3.609, allocations: 1.848 MB / 0.9913 GB, free: 123.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (270): * Single equations (assignments): 265 * 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%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04836/3.658, allocations: 15.19 MB / 1.006 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02423/3.682, allocations: 9.725 MB / 1.016 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/3.682, allocations: 0 / 1.016 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009719/3.692, allocations: 3.794 MB / 1.019 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006459/3.698, allocations: 0.7212 MB / 1.02 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5536/4.252, allocations: 191.2 MB / 1.207 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01385/4.266, allocations: 5.013 MB / 1.212 GB, free: 64.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0143/4.28, allocations: 2.8 MB / 1.214 GB, free: 64.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008041/4.288, allocations: 3.262 MB / 1.218 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of SimCode: time 1.954e-06/4.288, allocations: 0 / 1.218 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.648/4.936, allocations: 141.9 MB / 1.356 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/4.937, allocations: 207.1 kB / 1.356 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/13.04, allocations: 4.938 kB / 1.356 GB, free: 119.2 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat