Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test4",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.00953/0.00953, allocations: 166.1 kB / 15.11 MB, free: 5.93 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.636/1.636, 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.002859/0.002859, allocations: 106.5 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.4641/0.4641, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004751, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1044, allocations: 48.7 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5345, allocations: 75.86 MB / 487.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5348, allocations: 67.72 kB / 487.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.016/0.5509, allocations: 4.165 MB / 491.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5509, allocations: 0 / 491.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.5509, allocations: 0 / 491.8 MB, free: 8.23 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.0004886/0.5514, allocations: 435.2 kB / 492.2 MB, free: 7.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5515, allocations: 12.03 kB / 492.2 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.5515, allocations: 31.44 kB / 492.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.5516, allocations: 11.91 kB / 492.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.5518, allocations: 210 kB / 492.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5519, allocations: 4 kB / 492.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.5519, allocations: 0 / 492.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.552, allocations: 45.12 kB / 492.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5521, allocations: 4 kB / 492.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5521, allocations: 0 / 492.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5521, allocations: 0 / 492.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.5522, allocations: 16.95 kB / 492.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.5526, allocations: 308 kB / 492.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.5528, allocations: 45.81 kB / 492.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.5528, allocations: 4 kB / 492.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.5529, allocations: 58.98 kB / 492.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.553, allocations: 0 / 492.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004737/0.5534, allocations: 124.6 kB / 493.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5535, allocations: 59.41 kB / 493.1 MB, free: 6.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.5537, allocations: 178.4 kB / 493.3 MB, free: 6.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.5538, allocations: 25.7 kB / 493.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.5538, allocations: 103.2 kB / 493.4 MB, free: 6.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.5538, allocations: 23.61 kB / 493.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.5539, allocations: 0 / 493.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.5539, allocations: 318.4 kB / 493.8 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.554, allocations: 23.8 kB / 493.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.5541, allocations: 27.86 kB / 493.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.761e-05/0.5542, allocations: 53.14 kB / 493.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5542, allocations: 3.938 kB / 493.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002455/0.5545, allocations: 126.7 kB / 494 MB, free: 5.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.5545, allocations: 37.27 kB / 494 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5545, allocations: 0 / 494 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5545, allocations: 0 / 494 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.5546, allocations: 11.98 kB / 494 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5546, allocations: 0 / 494 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/0.5547, allocations: 7.938 kB / 494 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.5548, allocations: 11.95 kB / 494.1 MB, free: 5.887 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.504e-05/0.5549, allocations: 122.7 kB / 494.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.5549, allocations: 15.78 kB / 494.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.5551, allocations: 89.39 kB / 494.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5552, allocations: 0 / 494.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5552, allocations: 0 / 494.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5552, allocations: 0 / 494.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.5556, allocations: 373.7 kB / 494.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5556, allocations: 0 / 494.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.5557, allocations: 8 kB / 494.7 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5557, allocations: 288 / 494.7 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5557, allocations: 3.984 kB / 494.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5557, allocations: 0 / 494.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5557, allocations: 0 / 494.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.5559, allocations: 187 kB / 494.8 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.556, allocations: 104.9 kB / 494.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.556, allocations: 0 / 494.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.5561, allocations: 7.688 kB / 495 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.5562, allocations: 0 / 495 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5562, allocations: 4 kB / 495 MB, free: 4.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.5564, allocations: 152 kB / 495.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5564, allocations: 0 / 495.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.5567, allocations: 43.86 kB / 495.1 MB, free: 4.793 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.001229/0.558, allocations: 0.9566 MB / 496.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.5582, allocations: 114.7 kB / 496.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5582, allocations: 0 / 496.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.5583, allocations: 19.56 kB / 496.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.5586, allocations: 27.05 kB / 496.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.5595, allocations: 464.6 kB / 496.7 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.5597, allocations: 0.7081 MB / 497.4 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.5597, allocations: 16.14 kB / 497.4 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.5598, allocations: 26.86 kB / 497.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5598, allocations: 0 / 497.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.5867, allocations: 2.783 MB / 0.4885 GB, free: 15.79 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/0.5871, allocations: 216.6 kB / 0.4887 GB, free: 15.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.878, allocations: 4.062 kB / 0.4887 GB, free: 15.54 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat