Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test57",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.00993/0.00993, allocations: 165.6 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.669/1.669, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002049/0.002049, allocations: 103.4 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.4351/0.4351, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004925, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1227, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/0.5472, allocations: 76.09 MB / 487.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.5475, allocations: 66.78 kB / 487.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01923/0.5668, allocations: 4.964 MB / 492.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5668, allocations: 0 / 492.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.5669, allocations: 7.938 kB / 492.8 MB, free: 7.746 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.000537/0.5674, allocations: 412.2 kB / 493.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5675, allocations: 15.97 kB / 493.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.5675, allocations: 34.56 kB / 493.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.5676, allocations: 11.84 kB / 493.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.5678, allocations: 193.6 kB / 493.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5678, allocations: 0 / 493.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.5679, allocations: 4 kB / 493.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.568, allocations: 66.52 kB / 493.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.568, allocations: 0 / 493.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5681, allocations: 0 / 493.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.5681, allocations: 4 kB / 493.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.375e-05/0.5681, allocations: 16.33 kB / 493.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.5685, allocations: 282.6 kB / 493.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.5688, allocations: 48.81 kB / 493.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.5688, allocations: 0 / 493.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.5689, allocations: 65.78 kB / 493.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.5689, allocations: 0.5625 kB / 493.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004744/0.5694, allocations: 114.2 kB / 494.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.5695, allocations: 77.11 kB / 494.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.5696, allocations: 139.4 kB / 494.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.5697, allocations: 25.7 kB / 494.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.5697, allocations: 88.45 kB / 494.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.5697, allocations: 21.94 kB / 494.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.5698, allocations: 4 kB / 494.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.5698, allocations: 318.2 kB / 494.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.5699, allocations: 23.23 kB / 494.7 MB, free: 5.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.57, allocations: 35.58 kB / 494.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/0.5701, allocations: 56.08 kB / 494.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5701, allocations: 0 / 494.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002279/0.5703, allocations: 116.8 kB / 494.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.5704, allocations: 33.69 kB / 495 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5704, allocations: 4.031 kB / 495 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5704, allocations: 0 / 495 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.5705, allocations: 11.94 kB / 495 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5705, allocations: 7.938 kB / 495 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.5706, allocations: 0 / 495 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.5706, allocations: 15.31 kB / 495 MB, free: 5.434 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.694e-05/0.5707, allocations: 114.4 kB / 495.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.5707, allocations: 5.5 kB / 495.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.571, allocations: 90.98 kB / 495.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.571, allocations: 0 / 495.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.571, allocations: 0 / 495.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.571, allocations: 0 / 495.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.5715, allocations: 350.9 kB / 495.6 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5715, allocations: 4 kB / 495.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.5715, allocations: 7.984 kB / 495.6 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5716, allocations: 0.875 kB / 495.6 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5716, allocations: 7.062 kB / 495.6 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5716, allocations: 4 kB / 495.6 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5716, allocations: 0 / 495.6 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.5718, allocations: 179.3 kB / 495.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.5718, allocations: 87.95 kB / 495.9 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.5719, allocations: 4 kB / 495.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.572, allocations: 0 / 495.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.572, allocations: 11.45 kB / 495.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5721, allocations: 3.938 kB / 495.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.138e-05/0.5722, allocations: 115 kB / 496 MB, free: 4.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5722, allocations: 0 / 496 MB, free: 4.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003822/0.5726, allocations: 47.11 kB / 496 MB, free: 4.402 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.001387/0.574, allocations: 1.041 MB / 497.1 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.5742, allocations: 107.3 kB / 497.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5742, allocations: 4 kB / 497.2 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.5743, allocations: 19.38 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.000292/0.5746, allocations: 14.98 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.00251/0.5771, allocations: 1.124 MB / 498.3 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.5773, allocations: 0.6965 MB / 499 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.147e-05/0.5774, allocations: 20.06 kB / 499.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.5775, allocations: 22.62 kB / 499.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5775, allocations: 0 / 499.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/0.6704, allocations: 2.821 MB / 0.4901 GB, free: 14.96 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005576/0.6711, allocations: 213.8 kB / 0.4903 GB, free: 14.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.993, allocations: 0 / 0.4903 GB, free: 14.73 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat