Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.0009832/0.0009831, allocations: 169 kB / 8.742 MB, free: 344 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.423/1.423, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.001041/0.001041, allocations: 100.7 kB / 281.6 MB, free: 5.312 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.2293/0.2293, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.39e-05, allocations: 8 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.53, allocations: 88.37 MB / 0.5811 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.5303, allocations: 71.97 kB / 0.5811 GB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.5446, allocations: 5.382 MB / 0.5864 GB, free: 2.535 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5446, allocations: 0 / 0.5864 GB, free: 2.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5446, allocations: 4 kB / 0.5864 GB, free: 2.531 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004473/0.5451, allocations: 390.2 kB / 0.5868 GB, free: 2.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5452, allocations: 19.97 kB / 0.5868 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.5452, allocations: 7.906 kB / 0.5868 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.5455, allocations: 210.7 kB / 0.587 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.5455, allocations: 4 kB / 0.587 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.5455, allocations: 7.938 kB / 0.587 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.57e-05/0.5456, allocations: 12 kB / 0.587 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.226e-05/0.5457, allocations: 45.67 kB / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5457, allocations: 0 / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5457, allocations: 0 / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5457, allocations: 8 kB / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.5459, allocations: 154.2 kB / 0.5872 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.573e-05/0.546, allocations: 50.56 kB / 0.5873 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.546, allocations: 20.8 kB / 0.5873 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5461, allocations: 0 / 0.5873 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.5462, allocations: 71.44 kB / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.5462, allocations: 0 / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.00018/0.5464, allocations: 69.59 kB / 0.5874 GB, free: 1.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.5464, allocations: 55.41 kB / 0.5875 GB, free: 1.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.5466, allocations: 161.4 kB / 0.5876 GB, free: 1.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.5466, allocations: 25.7 kB / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.5466, allocations: 100.1 kB / 0.5878 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.5467, allocations: 19.69 kB / 0.5878 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5467, allocations: 0 / 0.5878 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.5468, allocations: 326.8 kB / 0.5881 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.5468, allocations: 16 kB / 0.5881 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.5469, allocations: 29.69 kB / 0.5881 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.5469, allocations: 12.75 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5469, allocations: 0 / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001043/0.547, allocations: 77.64 kB / 0.5882 GB, free: 480 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5471, allocations: 9.406 kB / 0.5882 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.5471, allocations: 4.031 kB / 0.5882 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.5471, allocations: 7.891 kB / 0.5882 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.5472, allocations: 8 kB / 0.5882 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.5472, allocations: 4 kB / 0.5882 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.5472, allocations: 3.938 kB / 0.5882 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.5472, allocations: 4 kB / 0.5883 GB, free: 440 kB / 394.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 (7): * Single equations (assignments): 7 * 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.411e-05/0.5473, allocations: 109 kB / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001119/0.5474, allocations: 77.5 kB / 0.5884 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.5475, allocations: 11.86 kB / 0.5884 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.5476, allocations: 90.02 kB / 0.5885 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5476, allocations: 0 / 0.5885 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5476, allocations: 3.984 kB / 0.5885 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5476, allocations: 0 / 0.5885 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.5478, allocations: 162.2 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5478, allocations: 0 / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.5478, allocations: 11.98 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5478, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.5478, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5478, allocations: 7.891 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5479, allocations: 4 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.548, allocations: 117.1 kB / 0.5888 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.5481, allocations: 92.94 kB / 0.5889 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5481, allocations: 4 kB / 0.5889 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.5481, allocations: 7.984 kB / 0.5889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.5482, allocations: 7.953 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.5482, allocations: 4 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.876e-05/0.5483, allocations: 137 kB / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5483, allocations: 0 / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.5485, allocations: 24 kB / 0.5891 GB, free: 15.48 MB / 410.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: 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 (6): * Single equations (assignments): 4 * 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.001002/0.5495, allocations: 0.8775 MB / 0.5899 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.933e-05/0.5496, allocations: 36 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5497, allocations: 0 / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.5497, allocations: 27.92 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.5499, allocations: 23.94 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.5504, allocations: 193.6 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.5506, allocations: 0.7041 MB / 0.5909 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.953e-05/0.5507, allocations: 16.41 kB / 0.5909 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.5508, allocations: 35.42 kB / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5508, allocations: 0 / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.5711, allocations: 2.35 MB / 0.5932 GB, free: 11.22 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.5714, allocations: 163.3 kB / 0.5934 GB, free: 11.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.123, allocations: 7.938 kB / 0.5934 GB, free: 11.02 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat