Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 230.7 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008939, allocations: 102 kB / 281.6 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.15 MB / 376.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.238e-05, allocations: 8.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 61.92 MB / 0.4948 GB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.5276, allocations: 88.52 MB / 0.5812 GB, free: 7.879 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5279, allocations: 71.97 kB / 0.5813 GB, free: 7.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01514/0.5431, allocations: 5.469 MB / 0.5866 GB, free: 2.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5431, allocations: 0 / 0.5866 GB, free: 2.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.5431, allocations: 4 kB / 0.5866 GB, free: 2.352 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000459/0.5436, allocations: 410.2 kB / 0.587 GB, free: 1.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5437, allocations: 11.98 kB / 0.587 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.5437, allocations: 11.81 kB / 0.587 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.544, allocations: 211.6 kB / 0.5872 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.544, allocations: 3.953 kB / 0.5873 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.544, allocations: 7.984 kB / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.712e-05/0.5441, allocations: 27.86 kB / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.515e-05/0.5442, allocations: 53.69 kB / 0.5873 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5442, allocations: 3.938 kB / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5442, allocations: 0 / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5442, allocations: 0 / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.5446, allocations: 277.4 kB / 0.5876 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/0.5447, allocations: 46.69 kB / 0.5877 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.5448, allocations: 24.92 kB / 0.5877 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.5448, allocations: 0 / 0.5877 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.5449, allocations: 63.39 kB / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5449, allocations: 0 / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003886/0.5453, allocations: 149.1 kB / 0.5879 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.5453, allocations: 51.41 kB / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.5455, allocations: 183.7 kB / 0.5881 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.5455, allocations: 29.7 kB / 0.5881 GB, free: 0.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.5456, allocations: 100.1 kB / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.5456, allocations: 27.64 kB / 0.5883 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.5456, allocations: 0 / 0.5883 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.5457, allocations: 322.8 kB / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.5458, allocations: 16 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.5458, allocations: 33.72 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.5459, allocations: 27.94 kB / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5459, allocations: 0 / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.546, allocations: 93.59 kB / 0.5887 GB, free: 15.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5461, allocations: 7.984 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5461, allocations: 0 / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5461, allocations: 4 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.5462, allocations: 12 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5462, allocations: 0 / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.5462, allocations: 7.984 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.5463, allocations: 4 kB / 0.5888 GB, free: 15.95 MB / 410.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 6.531e-05/0.5463, allocations: 114.2 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001304/0.5465, allocations: 93.5 kB / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.5465, allocations: 15.89 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.5467, allocations: 111.6 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5467, allocations: 0 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5467, allocations: 0 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5467, allocations: 3.984 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.5471, allocations: 395.8 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5471, allocations: 0 / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.5471, allocations: 12.17 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5472, allocations: 0 / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5472, allocations: 8 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5472, allocations: 0 / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5472, allocations: 0 / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.5474, allocations: 217.9 kB / 0.5897 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.5475, allocations: 96.91 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.5475, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.5476, allocations: 4 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.5476, allocations: 15.94 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.5476, allocations: 4 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.5477, allocations: 140 kB / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5477, allocations: 0 / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.548, allocations: 39.94 kB / 0.59 GB, free: 14.61 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001143/0.5492, allocations: 1.102 MB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.5493, allocations: 48 kB / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5493, allocations: 3.938 kB / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.59e-05/0.5494, allocations: 36.05 kB / 0.5911 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.5496, allocations: 27.92 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.5502, allocations: 223.4 kB / 0.5914 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.5504, allocations: 0.7119 MB / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.546e-05/0.5505, allocations: 28.77 kB / 0.5921 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.5505, allocations: 35.42 kB / 0.5921 GB, free: 12.39 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.5505, allocations: 0 / 0.5921 GB, free: 12.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5712, allocations: 2.718 MB / 0.5948 GB, free: 9.688 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.5715, allocations: 166.1 kB / 0.5949 GB, free: 9.496 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.209, allocations: 0 / 0.5949 GB, free: 9.496 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat