Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001346/0.001346, allocations: 174.4 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.436/1.436, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008624/0.0008624, allocations: 86.47 kB / 281.6 MB, free: 5.328 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.1978/0.1978, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.552e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.5365, allocations: 88.56 MB / 0.5813 GB, free: 7.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.5369, allocations: 71.97 kB / 0.5813 GB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0266/0.5635, allocations: 5.527 MB / 0.5867 GB, free: 2.258 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5636, allocations: 0.75 kB / 0.5867 GB, free: 2.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.5636, allocations: 6.953 kB / 0.5867 GB, free: 2.254 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.0006759/0.5643, allocations: 398.2 kB / 0.5871 GB, free: 1.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.5644, allocations: 11.98 kB / 0.5871 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.5645, allocations: 7.906 kB / 0.5871 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.565, allocations: 218.7 kB / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.565, allocations: 3.953 kB / 0.5873 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.565, allocations: 4 kB / 0.5874 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/0.5652, allocations: 23.92 kB / 0.5874 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.5653, allocations: 49.62 kB / 0.5874 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5654, allocations: 4 kB / 0.5874 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.5654, allocations: 3.984 kB / 0.5874 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5654, allocations: 3.938 kB / 0.5874 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.5659, allocations: 269.5 kB / 0.5877 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.5661, allocations: 46.69 kB / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/0.5662, allocations: 16.98 kB / 0.5878 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.5662, allocations: 7.984 kB / 0.5878 GB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.5664, allocations: 63.33 kB / 0.5878 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.045e-06/0.5664, allocations: 8 kB / 0.5878 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006744/0.5671, allocations: 141.2 kB / 0.588 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5672, allocations: 55.34 kB / 0.588 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.5675, allocations: 165.4 kB / 0.5882 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.5675, allocations: 25.7 kB / 0.5882 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.5676, allocations: 100.1 kB / 0.5883 GB, free: 484 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.5677, allocations: 23.7 kB / 0.5883 GB, free: 460 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.5677, allocations: 0 / 0.5883 GB, free: 460 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5679, allocations: 326.8 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.5679, allocations: 20 kB / 0.5886 GB, free: 104 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.568, allocations: 29.72 kB / 0.5887 GB, free: 68 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.5681, allocations: 23.94 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5681, allocations: 4 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000282/0.5684, allocations: 89.48 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5685, allocations: 5.094 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5685, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5685, allocations: 4.031 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.5687, allocations: 15.94 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5687, allocations: 0 / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.5688, allocations: 7.938 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.5688, allocations: 4.188 kB / 0.5888 GB, free: 15.91 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 0.0001143/0.5689, allocations: 109.9 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002456/0.5692, allocations: 101.5 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.5693, allocations: 19.8 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.5696, allocations: 118.3 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5697, allocations: 0 / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5697, allocations: 0 / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5697, allocations: 0 / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.5704, allocations: 384 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.5704, allocations: 0 / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.5705, allocations: 11.94 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.5705, allocations: 4 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.5705, allocations: 0 / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5705, allocations: 4.031 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5706, allocations: 3.984 kB / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.5709, allocations: 214 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.355e-05/0.571, allocations: 93.02 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.5711, allocations: 0 / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.5712, allocations: 11.98 kB / 0.5899 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.5713, allocations: 7.953 kB / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.5713, allocations: 8 kB / 0.5899 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.5715, allocations: 133 kB / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5715, allocations: 0 / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004905/0.572, allocations: 28 kB / 0.59 GB, free: 14.57 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.002033/0.5741, allocations: 1.108 MB / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.5743, allocations: 44 kB / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5743, allocations: 0 / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.5744, allocations: 31.92 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.5749, allocations: 23.94 kB / 0.5912 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.5758, allocations: 215 kB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.5763, allocations: 0.7157 MB / 0.5921 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.905e-05/0.5764, allocations: 28.62 kB / 0.5921 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.5765, allocations: 35.42 kB / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5765, allocations: 0 / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.6015, allocations: 2.645 MB / 0.5947 GB, free: 9.727 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.6017, allocations: 165.2 kB / 0.5949 GB, free: 9.535 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.174, allocations: 0 / 0.5949 GB, free: 9.535 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat