Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001002/0.001002, allocations: 171.2 kB / 8.739 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.424/1.424, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008974/0.0008975, allocations: 83.5 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.2022/0.2022, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.094e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 61.93 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5388, allocations: 88.57 MB / 0.5813 GB, free: 7.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.539, allocations: 75.95 kB / 0.5813 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.5544, allocations: 5.727 MB / 0.5869 GB, free: 2.004 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5545, allocations: 0 / 0.5869 GB, free: 2.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.5545, allocations: 8 kB / 0.5869 GB, free: 1.996 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006091/0.5551, allocations: 436.6 kB / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5552, allocations: 11.98 kB / 0.5874 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.5552, allocations: 15.81 kB / 0.5874 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.5557, allocations: 254.2 kB / 0.5876 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.5557, allocations: 7.953 kB / 0.5876 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.5557, allocations: 4 kB / 0.5876 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.098e-05/0.5558, allocations: 35.92 kB / 0.5877 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.556, allocations: 89.09 kB / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.556, allocations: 0 / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.556, allocations: 0 / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.556, allocations: 0 / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.5562, allocations: 199.1 kB / 0.588 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.5564, allocations: 85.3 kB / 0.588 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.5564, allocations: 37.8 kB / 0.5881 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.5565, allocations: 4 kB / 0.5881 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.5566, allocations: 109 kB / 0.5882 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.5567, allocations: 0 / 0.5882 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002891/0.5569, allocations: 125.5 kB / 0.5883 GB, free: 432 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.557, allocations: 136.5 kB / 0.5884 GB, free: 264 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.5572, allocations: 195 kB / 0.5886 GB, free: 60 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5573, allocations: 33.7 kB / 0.5886 GB, free: 20 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.5574, allocations: 108.1 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.5574, allocations: 27.64 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.5574, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5575, allocations: 326.8 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.5576, allocations: 20 kB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.461e-05/0.5577, allocations: 70.64 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.5577, allocations: 24.17 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5577, allocations: 0 / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001752/0.5579, allocations: 121.4 kB / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5579, allocations: 7.953 kB / 0.5893 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5579, allocations: 7.984 kB / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.558, allocations: 7.922 kB / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.5581, allocations: 20.09 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5581, allocations: 11.88 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.5582, allocations: 7.984 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.5582, allocations: 8 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 8.807e-05/0.5583, allocations: 117.1 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001837/0.5585, allocations: 133.4 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.5585, allocations: 19.77 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.5588, allocations: 147.2 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5588, allocations: 4 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5588, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5588, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.559, allocations: 198.1 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.559, allocations: 0 / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.559, allocations: 8 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5591, allocations: 7.984 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5591, allocations: 7.891 kB / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5591, allocations: 4 kB / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5591, allocations: 0 / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.5593, allocations: 183.4 kB / 0.5902 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.5594, allocations: 104.9 kB / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.5594, allocations: 0 / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.5595, allocations: 7.984 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.5595, allocations: 11.98 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.5596, allocations: 12.25 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.5597, allocations: 153.5 kB / 0.5905 GB, free: 14.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5597, allocations: 0 / 0.5905 GB, free: 14.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.56, allocations: 55.83 kB / 0.5905 GB, free: 13.97 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001323/0.5613, allocations: 1.067 MB / 0.5915 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.5615, allocations: 79.92 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5615, allocations: 0 / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.5616, allocations: 39.94 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.5619, allocations: 45.45 kB / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.5625, allocations: 256 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5628, allocations: 0.7203 MB / 0.5927 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.5629, allocations: 29.31 kB / 0.5927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.563, allocations: 51.41 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.563, allocations: 3.938 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.5892, allocations: 3.805 MB / 0.5965 GB, free: 7.895 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/0.5895, allocations: 165.5 kB / 0.5966 GB, free: 7.703 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.343, allocations: 4.031 kB / 0.5966 GB, free: 7.699 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat