Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test68",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.01/0.01, 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.767/1.767, 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.001998/0.001998, allocations: 111.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.4364/0.4364, allocations: 38.04 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 15.98 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.5078, allocations: 75.72 MB / 487.4 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5081, allocations: 66.47 kB / 487.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01958/0.5277, allocations: 5.436 MB / 492.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5277, allocations: 4 kB / 492.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.5278, allocations: 8 kB / 492.9 MB, free: 7.293 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.0009766/0.5288, allocations: 0.7472 MB / 493.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5288, allocations: 8.031 kB / 493.7 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.5289, allocations: 38.55 kB / 493.7 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.529, allocations: 46.7 kB / 493.8 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.5298, allocations: 445.2 kB / 494.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.5299, allocations: 4 kB / 494.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.5299, allocations: 8 kB / 494.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.5301, allocations: 69.98 kB / 494.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5301, allocations: 0 / 494.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5301, allocations: 4 kB / 494.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.5301, allocations: 1.031 kB / 494.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.5302, allocations: 25.17 kB / 494.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.5307, allocations: 378.3 kB / 494.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.5308, allocations: 59.52 kB / 494.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5308, allocations: 0 / 494.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.531, allocations: 102.2 kB / 494.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.531, allocations: 4 kB / 494.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004502/0.5315, allocations: 140.2 kB / 495 MB, free: 5.191 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.5315, allocations: 80.42 kB / 495.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.5331, allocations: 0.8898 MB / 496 MB, free: 4.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.5332, allocations: 29.7 kB / 496 MB, free: 4.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.5334, allocations: 225.1 kB / 496.2 MB, free: 4.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.5334, allocations: 23.23 kB / 496.2 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.5334, allocations: 0 / 496.2 MB, free: 4.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5336, allocations: 374.1 kB / 496.6 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.5337, allocations: 33.36 kB / 496.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.5338, allocations: 58.5 kB / 496.7 MB, free: 3.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.534, allocations: 102.2 kB / 496.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.534, allocations: 4 kB / 496.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004414/0.5344, allocations: 238.4 kB / 497 MB, free: 3.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.5345, allocations: 59.41 kB / 497.1 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5345, allocations: 3.984 kB / 497.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.5345, allocations: 4 kB / 497.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.5347, allocations: 12 kB / 497.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.5347, allocations: 0 / 497.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.5349, allocations: 15.22 kB / 497.1 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.5349, allocations: 11.98 kB / 497.1 MB, free: 3.371 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002441/0.5351, allocations: 218.5 kB / 497.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.5353, allocations: 43.44 kB / 497.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.5356, allocations: 156.6 kB / 497.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5356, allocations: 4 kB / 497.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5356, allocations: 0 / 497.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5356, allocations: 0 / 497.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.536, allocations: 363.6 kB / 497.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.536, allocations: 480 / 497.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.5361, allocations: 11.94 kB / 497.9 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5361, allocations: 0 / 497.9 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.5361, allocations: 7.984 kB / 497.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5361, allocations: 0 / 497.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5361, allocations: 0 / 497.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.5365, allocations: 184.6 kB / 498.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.5368, allocations: 179.6 kB / 498.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.5369, allocations: 11.11 kB / 498.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.537, allocations: 4 kB / 498.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.537, allocations: 15.23 kB / 498.3 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.5371, allocations: 4 kB / 498.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.5382, allocations: 0.7082 MB / 499 MB, free: 1.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5382, allocations: 0 / 499 MB, free: 1.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004402/0.5386, allocations: 94.94 kB / 499.1 MB, free: 1.598 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001605/0.5402, allocations: 1.152 MB / 0.4885 GB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.5406, allocations: 205 kB / 0.4887 GB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5406, allocations: 0 / 0.4887 GB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.5407, allocations: 31.36 kB / 0.4887 GB, free: 312 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.5411, allocations: 43.97 kB / 0.4888 GB, free: 284 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.5437, allocations: 1.536 MB / 0.4903 GB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.5443, allocations: 0.842 MB / 0.4911 GB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.5445, allocations: 80.59 kB / 0.4912 GB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.5448, allocations: 134.5 kB / 0.4913 GB, free: 13.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5448, allocations: 0 / 0.4913 GB, free: 13.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.5807, allocations: 8.513 MB / 0.4996 GB, free: 5.34 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.581, allocations: 210 kB / 0.4998 GB, free: 5.102 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.117, allocations: 0 / 0.4998 GB, free: 5.102 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat