Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test26",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.009931/0.009935, allocations: 165 kB / 15.11 MB, free: 6 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.737/1.737, 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.001945/0.001944, allocations: 111.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.4391/0.4391, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006466, allocations: 16 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.107, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5505, allocations: 75.87 MB / 487.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5508, allocations: 78.55 kB / 487.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5662, allocations: 4.068 MB / 491.7 MB, free: 8.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5662, allocations: 0 / 491.7 MB, free: 8.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.5662, allocations: 0 / 491.7 MB, free: 8.449 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.000456/0.5667, allocations: 434.3 kB / 492.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5668, allocations: 8.031 kB / 492.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.5668, allocations: 34.56 kB / 492.2 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.5669, allocations: 7.906 kB / 492.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.5671, allocations: 210.3 kB / 492.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5671, allocations: 4 kB / 492.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.5672, allocations: 4 kB / 492.4 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.5673, allocations: 45.17 kB / 492.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5673, allocations: 3.625 kB / 492.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5673, allocations: 3.875 kB / 492.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5673, allocations: 0 / 492.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.152e-05/0.5674, allocations: 13.02 kB / 492.5 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.5678, allocations: 303.6 kB / 492.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.568, allocations: 46.36 kB / 492.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.5681, allocations: 4 kB / 492.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.5682, allocations: 52.06 kB / 492.9 MB, free: 7.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.5682, allocations: 0 / 492.9 MB, free: 7.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004486/0.5687, allocations: 120.4 kB / 493 MB, free: 7.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.5687, allocations: 59.41 kB / 493 MB, free: 7.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.5689, allocations: 168.4 kB / 493.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5689, allocations: 25.7 kB / 493.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.569, allocations: 111.5 kB / 493.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.569, allocations: 11.5 kB / 493.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.569, allocations: 4 kB / 493.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.5691, allocations: 318.8 kB / 493.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.5692, allocations: 31.48 kB / 493.7 MB, free: 6.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.5693, allocations: 26.02 kB / 493.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.5694, allocations: 57.33 kB / 493.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5694, allocations: 0 / 493.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002364/0.5696, allocations: 133.6 kB / 493.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5697, allocations: 33.7 kB / 493.9 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5697, allocations: 0 / 493.9 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5697, allocations: 0 / 493.9 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.5698, allocations: 11.98 kB / 493.9 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5698, allocations: 0 / 493.9 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.5699, allocations: 4 kB / 493.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5699, allocations: 8.234 kB / 494 MB, free: 6.121 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.858e-05/0.57, allocations: 130.5 kB / 494.1 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.57, allocations: 15.8 kB / 494.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.5703, allocations: 89.42 kB / 494.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5703, allocations: 4 kB / 494.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5703, allocations: 0 / 494.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5703, allocations: 0 / 494.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.5707, allocations: 361.3 kB / 494.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5707, allocations: 4 kB / 494.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.5708, allocations: 8 kB / 494.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5708, allocations: 0 / 494.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5708, allocations: 4.812 kB / 494.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5708, allocations: 0 / 494.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5709, allocations: 0 / 494.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.5711, allocations: 178.9 kB / 494.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.5711, allocations: 89.02 kB / 494.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.5712, allocations: 8.156 kB / 494.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.5713, allocations: 7.938 kB / 494.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.5713, allocations: 3.984 kB / 494.8 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5713, allocations: 7.875 kB / 494.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.5715, allocations: 139.4 kB / 495 MB, free: 5.074 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.5715, allocations: 3.938 kB / 495 MB, free: 5.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.5718, allocations: 35.56 kB / 495 MB, free: 5.039 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.001173/0.573, allocations: 0.9715 MB / 496 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.5732, allocations: 114.4 kB / 496.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5733, allocations: 0 / 496.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.5733, allocations: 19.88 kB / 496.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.5736, allocations: 19.86 kB / 496.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.5744, allocations: 467.2 kB / 496.6 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.5746, allocations: 0.7004 MB / 497.3 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.5746, allocations: 11.98 kB / 497.3 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.5747, allocations: 27.23 kB / 497.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5747, allocations: 0 / 497.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.5964, allocations: 2.707 MB / 0.4883 GB, free: 108 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/0.5968, allocations: 206 kB / 0.4885 GB, free: 15.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.08, allocations: 3.938 kB / 0.4885 GB, free: 15.87 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat