Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test45",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.01004/0.01004, allocations: 165.6 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.741/1.741, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001983/0.001982, allocations: 116.4 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.4523/0.4523, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006346/0.0006345, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1069, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5421, allocations: 75.87 MB / 487.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5424, allocations: 70.7 kB / 487.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.5587, allocations: 4.101 MB / 491.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5588, allocations: 4 kB / 491.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5588, allocations: 0 / 491.7 MB, free: 8.441 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005208/0.5594, allocations: 434.7 kB / 492.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5594, allocations: 8.031 kB / 492.2 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.5595, allocations: 41.69 kB / 492.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.5595, allocations: 7.906 kB / 492.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.5598, allocations: 202.1 kB / 492.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5598, allocations: 7.312 kB / 492.4 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.5598, allocations: 4 kB / 492.4 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.5599, allocations: 49.17 kB / 492.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.56, allocations: 0 / 492.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.56, allocations: 0 / 492.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.56, allocations: 0 / 492.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.5601, allocations: 16.27 kB / 492.5 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.5605, allocations: 298.7 kB / 492.8 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.5607, allocations: 49.3 kB / 492.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.5608, allocations: 0 / 492.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.5609, allocations: 54.56 kB / 492.9 MB, free: 7.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.5609, allocations: 0 / 492.9 MB, free: 7.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004695/0.5614, allocations: 119.3 kB / 493 MB, free: 7.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.5614, allocations: 54.78 kB / 493.1 MB, free: 7.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.5616, allocations: 174 kB / 493.2 MB, free: 6.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5617, allocations: 33.64 kB / 493.3 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.5617, allocations: 102.4 kB / 493.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.5618, allocations: 15.25 kB / 493.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.5618, allocations: 3.281 kB / 493.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.5618, allocations: 322 kB / 493.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.5619, allocations: 26.48 kB / 493.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.562, allocations: 25.17 kB / 493.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.5621, allocations: 51.58 kB / 493.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5621, allocations: 0 / 493.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000244/0.5624, allocations: 141.1 kB / 493.9 MB, free: 6.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.5624, allocations: 33.7 kB / 494 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5624, allocations: 3.984 kB / 494 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5624, allocations: 0 / 494 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.5625, allocations: 11.98 kB / 494 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5625, allocations: 0 / 494 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.5626, allocations: 6.75 kB / 494 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.5626, allocations: 7.953 kB / 494 MB, free: 6.109 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 9.617e-05/0.5628, allocations: 125.7 kB / 494.1 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.5628, allocations: 15.81 kB / 494.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.563, allocations: 87.67 kB / 494.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.5631, allocations: 4 kB / 494.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5631, allocations: 0 / 494.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5631, allocations: 0 / 494.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.5635, allocations: 359 kB / 494.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5635, allocations: 0.875 kB / 494.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.5636, allocations: 4 kB / 494.6 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5636, allocations: 11.94 kB / 494.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.5636, allocations: 0 / 494.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5636, allocations: 0 / 494.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5636, allocations: 352 / 494.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.5638, allocations: 182.7 kB / 494.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.5639, allocations: 92.95 kB / 494.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.5639, allocations: 0 / 494.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.564, allocations: 3.938 kB / 494.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.5641, allocations: 11.98 kB / 494.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5641, allocations: 4 kB / 494.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.5643, allocations: 142.9 kB / 495 MB, free: 5.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5643, allocations: 0 / 495 MB, free: 5.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.5646, allocations: 35.19 kB / 495 MB, free: 5.035 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001278/0.5659, allocations: 0.9704 MB / 496 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.5662, allocations: 115.2 kB / 496.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5662, allocations: 0 / 496.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.5663, allocations: 19.44 kB / 496.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.5666, allocations: 15.48 kB / 496.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/0.5675, allocations: 469.8 kB / 496.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.5676, allocations: 0.7004 MB / 497.3 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.5677, allocations: 19.8 kB / 497.3 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.5678, allocations: 25.73 kB / 497.4 MB, free: 2.762 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5678, allocations: 0 / 497.4 MB, free: 2.762 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.5932, allocations: 2.706 MB / 0.4884 GB, free: 100 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/0.5936, allocations: 206 kB / 0.4885 GB, free: 15.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.868, allocations: 0 / 0.4885 GB, free: 15.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat