Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.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.Spring,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01473/0.01473, allocations: 166 kB / 15.11 MB, free: 5.934 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.756/1.756, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.00197/0.001969, allocations: 113.9 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.507/0.507, allocations: 38.06 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004809, allocations: 16 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5263, allocations: 90.7 MB / 0.4906 GB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.5267, allocations: 74.53 kB / 0.4907 GB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3683/0.895, allocations: 84.77 MB / 0.5735 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.895, allocations: 0 / 0.5735 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002397/0.8953, allocations: 87.94 kB / 0.5736 GB, free: 12.99 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01546/0.9108, allocations: 4.141 MB / 0.5776 GB, free: 8.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.9109, allocations: 12.03 kB / 0.5776 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003413/0.9143, allocations: 0.7623 MB / 0.5784 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/0.9345, allocations: 2.439 MB / 0.5807 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/0.9538, allocations: 5.133 MB / 0.5858 GB, free: 352 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004848/0.9544, allocations: 325.5 kB / 0.5861 GB, free: 24 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2929/1.247, allocations: 423.8 kB / 0.5865 GB, free: 80.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/1.28, allocations: 10.49 MB / 0.5967 GB, free: 77.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000318/1.281, allocations: 65.06 kB / 0.5968 GB, free: 77.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/1.282, allocations: 211.8 kB / 0.597 GB, free: 77.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/1.285, allocations: 1.01 MB / 0.598 GB, free: 77.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03097/1.316, allocations: 8.224 MB / 0.606 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08135/1.397, allocations: 47.44 MB / 0.6523 GB, free: 45.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/1.411, allocations: 3.059 MB / 0.6553 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/1.424, allocations: 5.208 MB / 0.6604 GB, free: 40.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.424, allocations: 55.47 kB / 0.6605 GB, free: 40.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.33e-06/1.424, allocations: 1.781 kB / 0.6605 GB, free: 40.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.03934/1.464, allocations: 9.216 MB / 0.6695 GB, free: 36.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/1.464, allocations: 196.5 kB / 0.6696 GB, free: 36.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009954/1.474, allocations: 3.644 MB / 0.6732 GB, free: 35.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003088/1.474, allocations: 45.36 kB / 0.6732 GB, free: 35.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002919/1.477, allocations: 3.148 MB / 0.6763 GB, free: 32.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008719/1.478, allocations: 0.587 MB / 0.6769 GB, free: 32.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007763/1.479, allocations: 119.2 kB / 0.677 GB, free: 32.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005063/1.479, allocations: 0.5568 MB / 0.6775 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005264/1.485, allocations: 1.623 MB / 0.6791 GB, free: 31.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007838/1.492, allocations: 5.417 MB / 0.6844 GB, free: 25.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007544/1.5, allocations: 2.91 MB / 0.6873 GB, free: 24.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.5, allocations: 41.2 kB / 0.6873 GB, free: 24.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01982/1.52, allocations: 6.779 MB / 0.6939 GB, free: 21.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.52, allocations: 62.38 kB / 0.694 GB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002667/1.521, allocations: 138.2 kB / 0.6941 GB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/1.521, allocations: 196.8 kB / 0.6943 GB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008881/1.53, allocations: 1.418 MB / 0.6957 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003128/1.53, allocations: 262.4 kB / 0.6959 GB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007214/1.537, allocations: 376.1 kB / 0.6963 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/1.539, allocations: 375.8 kB / 0.6967 GB, free: 21.41 MB / 426.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.005482/1.544, allocations: 2.005 MB / 0.6986 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009025/1.545, allocations: 346.9 kB / 0.6989 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/1.549, allocations: 1.26 MB / 0.7002 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/1.549, allocations: 13.81 kB / 0.7002 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.549, allocations: 3.562 kB / 0.7002 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.549, allocations: 6.609 kB / 0.7002 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/1.566, allocations: 5.551 MB / 0.7056 GB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/1.566, allocations: 13.97 kB / 0.7056 GB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/1.568, allocations: 261.7 kB / 0.7059 GB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-05/1.568, allocations: 26.95 kB / 0.7059 GB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.568, allocations: 45.69 kB / 0.7059 GB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.639e-05/1.568, allocations: 34.33 kB / 0.706 GB, free: 17.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/1.569, allocations: 21.75 kB / 0.706 GB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006301/1.575, allocations: 4.88 MB / 0.7108 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.577, allocations: 0.5178 MB / 0.7113 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009269/1.578, allocations: 41.73 kB / 0.7113 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.58, allocations: 98.64 kB / 0.7114 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/1.581, allocations: 137.5 kB / 0.7115 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.581, allocations: 60.77 kB / 0.7116 GB, free: 12.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008031/1.589, allocations: 2.54 MB / 0.7141 GB, free: 11.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.589, allocations: 0 / 0.7141 GB, free: 11.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007828/1.597, allocations: 0.8983 MB / 0.715 GB, free: 11.62 MB / 426.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.007645/1.604, allocations: 9.225 MB / 0.724 GB, free: 2.961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.615, allocations: 3.77 MB / 0.7276 GB, free: 0 / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.236e-05/1.616, allocations: 4.906 kB / 0.7276 GB, free: 0 / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002263/1.618, allocations: 0.733 MB / 0.7284 GB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.621, allocations: 425 kB / 0.7288 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3745/1.996, allocations: 112.6 MB / 0.8387 GB, free: 37.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008336/2.004, allocations: 3.216 MB / 0.8419 GB, free: 36.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008989/2.013, allocations: 1.796 MB / 0.8436 GB, free: 36.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004749/2.018, allocations: 1.825 MB / 0.8454 GB, free: 36.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/2.018, allocations: 0 / 0.8454 GB, free: 36.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/2.198, allocations: 65.98 MB / 0.9098 GB, free: 26.03 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/2.198, allocations: 170.7 kB / 0.91 GB, free: 25.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.276/7.474, allocations: 3.938 kB / 0.91 GB, free: 25.78 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat