Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.0009351/0.0009344, 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.444/1.444, 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.0009497/0.0009497, allocations: 99.45 kB / 281.6 MB, free: 5.324 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.2078/0.2078, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.111e-05, allocations: 12.16 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1404, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.413/0.5535, allocations: 88.84 MB / 0.5815 GB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5538, allocations: 71.95 kB / 0.5816 GB, free: 7.523 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0302/0.584, allocations: 11.34 MB / 0.5927 GB, free: 12.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.584, allocations: 0 / 0.5927 GB, free: 12.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.355e-05/0.5841, allocations: 8 kB / 0.5927 GB, free: 12.19 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008823/0.585, allocations: 0.6356 MB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.585, allocations: 11.98 kB / 0.5933 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/0.5851, allocations: 51.34 kB / 0.5934 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.5859, allocations: 435 kB / 0.5938 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.586, allocations: 7.953 kB / 0.5938 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.586, allocations: 15.94 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001898/0.5862, allocations: 88.39 kB / 0.5939 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.5865, allocations: 195.1 kB / 0.5941 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.5865, allocations: 0 / 0.5941 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.5865, allocations: 4 kB / 0.5941 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5866, allocations: 4 kB / 0.5941 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009879/0.5876, allocations: 0.8571 MB / 0.5949 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.5879, allocations: 253.8 kB / 0.5952 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.5881, allocations: 92.34 kB / 0.5953 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5881, allocations: 4 kB / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.5884, allocations: 211.5 kB / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.5884, allocations: 0 / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.00143/0.5899, allocations: 0.8466 MB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.59, allocations: 162.2 kB / 0.5964 GB, free: 8.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.5906, allocations: 0.5255 MB / 0.597 GB, free: 7.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.5906, allocations: 33.7 kB / 0.597 GB, free: 7.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.5908, allocations: 224.7 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5909, allocations: 122.4 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.591, allocations: 0 / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5911, allocations: 367.5 kB / 0.5977 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.5913, allocations: 84.86 kB / 0.5977 GB, free: 6.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.5915, allocations: 168 kB / 0.5979 GB, free: 6.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.5917, allocations: 108.3 kB / 0.598 GB, free: 6.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5917, allocations: 0 / 0.598 GB, free: 6.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005488/0.5922, allocations: 360.6 kB / 0.5984 GB, free: 6.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5923, allocations: 4 kB / 0.5984 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5923, allocations: 4 kB / 0.5984 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5923, allocations: 4 kB / 0.5984 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.5926, allocations: 87.78 kB / 0.5984 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5926, allocations: 4 kB / 0.5985 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.5928, allocations: 20.14 kB / 0.5985 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.5929, allocations: 16 kB / 0.5985 GB, free: 5.879 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001155/0.593, allocations: 130.2 kB / 0.5986 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005237/0.5935, allocations: 369.1 kB / 0.599 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.5936, allocations: 64.27 kB / 0.599 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.5943, allocations: 441.5 kB / 0.5994 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5943, allocations: 4.469 kB / 0.5994 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5943, allocations: 4 kB / 0.5995 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.5944, allocations: 3.984 kB / 0.5995 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.5958, allocations: 1.269 MB / 0.6007 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5958, allocations: 0 / 0.6007 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.596, allocations: 67.78 kB / 0.6008 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.596, allocations: 4 kB / 0.6008 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.596, allocations: 15.98 kB / 0.6008 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.596, allocations: 4 kB / 0.6008 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5961, allocations: 4 kB / 0.6008 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007608/0.5968, allocations: 0.9175 MB / 0.6017 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.597, allocations: 160.4 kB / 0.6018 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.5971, allocations: 19.94 kB / 0.6019 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.5974, allocations: 15.98 kB / 0.6019 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.5975, allocations: 31.95 kB / 0.6019 GB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.5975, allocations: 20 kB / 0.6019 GB, free: 2.164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004631/0.598, allocations: 434.8 kB / 0.6023 GB, free: 1.742 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.598, allocations: 0 / 0.6023 GB, free: 1.742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005619/0.5986, allocations: 87.91 kB / 0.6024 GB, free: 1.656 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001968/0.6005, allocations: 2.37 MB / 0.6047 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.601, allocations: 263.5 kB / 0.605 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.601, allocations: 0 / 0.605 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.6012, allocations: 144.4 kB / 0.6051 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.602, allocations: 119.5 kB / 0.6052 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6035, allocations: 0.8085 MB / 0.606 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.6038, allocations: 0.8704 MB / 0.6069 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.6041, allocations: 91.3 kB / 0.607 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.6043, allocations: 175.4 kB / 0.6071 GB, free: 12.75 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6043, allocations: 0 / 0.6071 GB, free: 12.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.6327, allocations: 9.597 MB / 0.6165 GB, free: 3.203 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.633, allocations: 157.4 kB / 0.6167 GB, free: 3.016 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.788, allocations: 3.938 kB / 0.6167 GB, free: 3.012 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat