Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test56",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.009709/0.009709, 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.614/1.614, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001939/0.001939, allocations: 107.4 kB / 226.2 MB, free: 10.1 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.4659/0.4659, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004699, allocations: 12 kB / 363 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 48.71 MB / 411.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5449, allocations: 76.08 MB / 487.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.5452, allocations: 74.66 kB / 487.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.564, allocations: 4.961 MB / 492.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5641, allocations: 0 / 492.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.5641, allocations: 4 kB / 492.8 MB, free: 7.742 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.0004719/0.5646, allocations: 426.2 kB / 493.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5646, allocations: 8.031 kB / 493.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.5647, allocations: 34.55 kB / 493.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.5647, allocations: 7.906 kB / 493.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.565, allocations: 193.2 kB / 493.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.565, allocations: 4 kB / 493.5 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.565, allocations: 4 kB / 493.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.5652, allocations: 62.89 kB / 493.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5652, allocations: 0 / 493.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5652, allocations: 0 / 493.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5652, allocations: 0 / 493.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.5653, allocations: 20.83 kB / 493.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.5657, allocations: 288 kB / 493.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.5659, allocations: 42.44 kB / 493.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.5659, allocations: 0 / 493.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.5661, allocations: 62.86 kB / 493.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.5661, allocations: 0.5625 kB / 493.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004399/0.5665, allocations: 111.7 kB / 494.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.5666, allocations: 81.11 kB / 494.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.5667, allocations: 133.6 kB / 494.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5668, allocations: 32.77 kB / 494.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.5668, allocations: 87.31 kB / 494.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.5668, allocations: 22.19 kB / 494.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.5669, allocations: 0 / 494.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.5669, allocations: 322.3 kB / 494.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.567, allocations: 14.81 kB / 494.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.5671, allocations: 40.7 kB / 494.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.5672, allocations: 51.7 kB / 494.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5672, allocations: 0 / 494.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002204/0.5674, allocations: 126.1 kB / 494.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.5675, allocations: 33.7 kB / 495 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5675, allocations: 0 / 495 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5675, allocations: 0 / 495 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.5676, allocations: 20.73 kB / 495 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5676, allocations: 0 / 495 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.5677, allocations: 11.41 kB / 495 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.5677, allocations: 3.953 kB / 495 MB, free: 5.43 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.377e-05/0.5678, allocations: 118.1 kB / 495.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.5678, allocations: 9.484 kB / 495.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.5681, allocations: 94.72 kB / 495.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5681, allocations: 4 kB / 495.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5681, allocations: 3.938 kB / 495.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5681, allocations: 3.984 kB / 495.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.5685, allocations: 344.5 kB / 495.6 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5685, allocations: 0 / 495.6 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.5686, allocations: 6.938 kB / 495.6 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5686, allocations: 4 kB / 495.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5686, allocations: 0 / 495.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5686, allocations: 0 / 495.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5686, allocations: 0 / 495.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.5688, allocations: 184.5 kB / 495.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.5689, allocations: 87.64 kB / 495.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.5689, allocations: 3.984 kB / 495.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.329e-05/0.569, allocations: 4 kB / 495.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.5691, allocations: 3.344 kB / 495.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5691, allocations: 7.938 kB / 495.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.5692, allocations: 110.4 kB / 496 MB, free: 4.434 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5692, allocations: 0 / 496 MB, free: 4.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.5696, allocations: 46.67 kB / 496 MB, free: 4.395 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.001402/0.571, allocations: 1.038 MB / 497.1 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.5712, allocations: 104.1 kB / 497.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5713, allocations: 4 kB / 497.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.5713, allocations: 23.3 kB / 497.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.5716, allocations: 15.3 kB / 497.2 MB, free: 3.301 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.5742, allocations: 1.125 MB / 498.3 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.5744, allocations: 0.6926 MB / 499 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.5745, allocations: 16.12 kB / 499 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.5745, allocations: 27.23 kB / 499.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of SimCode: time 1.123e-06/0.5746, allocations: 0 / 499.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09178/0.6663, allocations: 2.817 MB / 0.4901 GB, free: 14.97 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003779/0.6668, allocations: 221.9 kB / 0.4903 GB, free: 14.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.034, allocations: 4 kB / 0.4903 GB, free: 14.72 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat