Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test21",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.009891/0.009891, allocations: 164.8 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.607/1.607, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001943/0.001942, allocations: 111.3 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.4268/0.4268, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 48.72 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5532, allocations: 75.87 MB / 487.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.5535, allocations: 66.28 kB / 487.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.5695, allocations: 4.019 MB / 491.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5696, allocations: 0 / 491.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.5696, allocations: 4 kB / 491.7 MB, free: 8.367 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.0004836/0.5701, allocations: 427.2 kB / 492.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5702, allocations: 12.03 kB / 492.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.5702, allocations: 30.56 kB / 492.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.5702, allocations: 7.906 kB / 492.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.5705, allocations: 206 kB / 492.3 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5705, allocations: 4 kB / 492.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.5705, allocations: 4 kB / 492.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.5707, allocations: 45.48 kB / 492.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5707, allocations: 0 / 492.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5707, allocations: 1.031 kB / 492.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5707, allocations: 0 / 492.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.5708, allocations: 15.86 kB / 492.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.5712, allocations: 287.9 kB / 492.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.5714, allocations: 54.11 kB / 492.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.5714, allocations: 0 / 492.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.5716, allocations: 59.34 kB / 492.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.5716, allocations: 0 / 492.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004615/0.572, allocations: 124.5 kB / 492.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.5721, allocations: 55.41 kB / 493 MB, free: 6.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.5723, allocations: 164.5 kB / 493.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5723, allocations: 29.64 kB / 493.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.5723, allocations: 95.81 kB / 493.2 MB, free: 6.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.5724, allocations: 15.62 kB / 493.3 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-06/0.5724, allocations: 3.375 kB / 493.3 MB, free: 6.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.5725, allocations: 322.4 kB / 493.6 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.5725, allocations: 23.67 kB / 493.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.5726, allocations: 27.8 kB / 493.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/0.5727, allocations: 61.38 kB / 493.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5727, allocations: 0 / 493.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002576/0.573, allocations: 126.7 kB / 493.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.573, allocations: 33.69 kB / 493.8 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.573, allocations: 4 kB / 493.8 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5731, allocations: 3.938 kB / 493.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.5731, allocations: 8 kB / 493.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.5732, allocations: 3.953 kB / 493.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.5732, allocations: 4 kB / 493.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.5733, allocations: 8.047 kB / 493.9 MB, free: 6.062 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 8.637e-05/0.5734, allocations: 126.3 kB / 494 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.5734, allocations: 7.906 kB / 494 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.5736, allocations: 93.48 kB / 494.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5737, allocations: 288 / 494.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5737, allocations: 0 / 494.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5737, allocations: 7.938 kB / 494.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.5741, allocations: 357.2 kB / 494.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5741, allocations: 4.656 kB / 494.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.5741, allocations: 4 kB / 494.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5742, allocations: 0 / 494.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5742, allocations: 7.812 kB / 494.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5742, allocations: 3.953 kB / 494.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5742, allocations: 0 / 494.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.5744, allocations: 175 kB / 494.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.5745, allocations: 88.8 kB / 494.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.5745, allocations: 7.938 kB / 494.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.5746, allocations: 7.984 kB / 494.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.5746, allocations: 7.953 kB / 494.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5747, allocations: 0 / 494.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.5748, allocations: 135.3 kB / 494.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5748, allocations: 0 / 494.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.5752, allocations: 35.81 kB / 494.9 MB, free: 4.996 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.001182/0.5764, allocations: 0.9669 MB / 495.9 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.5766, allocations: 116.1 kB / 496 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5766, allocations: 0 / 496 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.5767, allocations: 22.88 kB / 496 MB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.577, allocations: 23.31 kB / 496 MB, free: 3.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.5777, allocations: 432.7 kB / 496.5 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.5779, allocations: 0.7043 MB / 497.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.578, allocations: 16.12 kB / 497.2 MB, free: 2.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.5781, allocations: 30.3 kB / 497.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5781, allocations: 0 / 497.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.6031, allocations: 2.629 MB / 499.8 MB, free: 160 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/0.6035, allocations: 217.5 kB / 0.4883 GB, free: 15.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.007, allocations: 3.938 kB / 0.4883 GB, free: 15.91 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat