Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.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.Spring,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring",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.01023/0.01023, 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.048/2.048, 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.002086/0.002086, allocations: 112.7 kB / 255.6 MB, free: 11.2 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.2587/0.2587, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 14.3 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 54.87 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.539/0.6495, allocations: 97.41 MB / 0.5455 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6499, allocations: 77.53 kB / 0.5455 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3555/1.005, allocations: 84.79 MB / 0.6283 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.005, allocations: 0 / 0.6283 GB, free: 15.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002903/1.006, allocations: 91.98 kB / 0.6284 GB, free: 15.23 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01744/1.023, allocations: 4.144 MB / 0.6325 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.023, allocations: 12.03 kB / 0.6325 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003773/1.027, allocations: 0.7609 MB / 0.6332 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02088/1.048, allocations: 2.432 MB / 0.6356 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02015/1.068, allocations: 5.145 MB / 0.6406 GB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005786/1.069, allocations: 324.4 kB / 0.6409 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002665/1.071, allocations: 427.8 kB / 0.6413 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/1.108, allocations: 10.49 MB / 0.6516 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003259/1.108, allocations: 67.41 kB / 0.6516 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001928/1.11, allocations: 207.9 kB / 0.6518 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002812/1.113, allocations: 1.006 MB / 0.6528 GB, free: 5.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/1.143, allocations: 8.225 MB / 0.6609 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07961/1.223, allocations: 47.42 MB / 0.7072 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/1.236, allocations: 3.058 MB / 0.7102 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/1.25, allocations: 5.208 MB / 0.7152 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/1.25, allocations: 51.17 kB / 0.7153 GB, free: 3.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 5.54e-06/1.25, allocations: 0 / 0.7153 GB, free: 3.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.3749/1.625, allocations: 9.216 MB / 0.7243 GB, free: 120.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/1.625, allocations: 200.3 kB / 0.7245 GB, free: 120.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/1.636, allocations: 3.639 MB / 0.728 GB, free: 119.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003221/1.637, allocations: 48.98 kB / 0.7281 GB, free: 119.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003771/1.641, allocations: 3.151 MB / 0.7312 GB, free: 118.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.642, allocations: 0.5876 MB / 0.7317 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008229/1.643, allocations: 118.4 kB / 0.7318 GB, free: 117.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005269/1.643, allocations: 0.5517 MB / 0.7324 GB, free: 117.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005826/1.649, allocations: 1.622 MB / 0.734 GB, free: 117.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008568/1.658, allocations: 5.418 MB / 0.7393 GB, free: 112.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008224/1.666, allocations: 2.915 MB / 0.7421 GB, free: 112.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002048/1.666, allocations: 38.25 kB / 0.7421 GB, free: 112.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01993/1.686, allocations: 6.775 MB / 0.7488 GB, free: 112 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.686, allocations: 62.19 kB / 0.7488 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/1.686, allocations: 137.9 kB / 0.749 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/1.687, allocations: 197.5 kB / 0.7491 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0086/1.695, allocations: 1.416 MB / 0.7505 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002938/1.696, allocations: 264.6 kB / 0.7508 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007614/1.703, allocations: 380.1 kB / 0.7511 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.705, allocations: 368.9 kB / 0.7515 GB, free: 111.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (746): * Single equations (assignments): 743 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005571/1.71, allocations: 2.014 MB / 0.7535 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.711, allocations: 345.5 kB / 0.7538 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/1.715, allocations: 1.258 MB / 0.755 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-05/1.715, allocations: 16.94 kB / 0.755 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.715, allocations: 3.906 kB / 0.755 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.715, allocations: 7.641 kB / 0.755 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.73, allocations: 5.547 MB / 0.7605 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/1.73, allocations: 18.34 kB / 0.7605 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.732, allocations: 258 kB / 0.7607 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.744e-05/1.732, allocations: 21.81 kB / 0.7607 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.732, allocations: 46.78 kB / 0.7608 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.849e-05/1.732, allocations: 34.77 kB / 0.7608 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-05/1.732, allocations: 32.52 kB / 0.7609 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/1.738, allocations: 4.867 MB / 0.7656 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.74, allocations: 0.5209 MB / 0.7661 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.741, allocations: 42.38 kB / 0.7662 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/1.744, allocations: 95.12 kB / 0.7662 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/1.745, allocations: 131.4 kB / 0.7664 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.745, allocations: 60.84 kB / 0.7664 GB, free: 106.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007322/1.752, allocations: 2.546 MB / 0.7689 GB, free: 105.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.752, allocations: 0 / 0.7689 GB, free: 105.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007541/1.76, allocations: 0.8877 MB / 0.7698 GB, free: 105.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (134): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007842/1.768, allocations: 9.24 MB / 0.7788 GB, free: 97.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00948/1.777, allocations: 3.674 MB / 0.7824 GB, free: 96.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/1.777, allocations: 3.844 kB / 0.7824 GB, free: 96.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.779, allocations: 0.6972 MB / 0.7831 GB, free: 96.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.783, allocations: 420.5 kB / 0.7835 GB, free: 95.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05786/1.841, allocations: 112.6 MB / 0.8935 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007316/1.848, allocations: 3.215 MB / 0.8966 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008256/1.856, allocations: 1.8 MB / 0.8983 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004258/1.86, allocations: 1.824 MB / 0.9001 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/1.861, allocations: 0 / 0.9001 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5143/2.375, allocations: 66.04 MB / 0.9646 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/2.375, allocations: 163.5 kB / 0.9648 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.384/7.759, allocations: 0 / 0.9648 GB, free: 146.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat