Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.002752/0.002752, 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.499/1.499, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009061/0.0009062, allocations: 97.97 kB / 281.6 MB, free: 5.32 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.2314/0.2314, allocations: 44.13 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.386e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 61.91 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.425/0.5634, allocations: 88.51 MB / 0.5812 GB, free: 7.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.5636, allocations: 76.7 kB / 0.5813 GB, free: 7.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.5787, allocations: 5.429 MB / 0.5866 GB, free: 2.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5787, allocations: 3.938 kB / 0.5866 GB, free: 2.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.5788, allocations: 0 / 0.5866 GB, free: 2.426 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.0005334/0.5793, allocations: 402.2 kB / 0.587 GB, free: 1.988 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5794, allocations: 15.98 kB / 0.587 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.5794, allocations: 7.906 kB / 0.587 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.5797, allocations: 218.7 kB / 0.5872 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.5798, allocations: 7.938 kB / 0.5872 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.5798, allocations: 4 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.253e-05/0.5799, allocations: 15.98 kB / 0.5872 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.58, allocations: 49.69 kB / 0.5873 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.58, allocations: 7.938 kB / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.58, allocations: 0 / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.58, allocations: 3.938 kB / 0.5873 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.5804, allocations: 273.5 kB / 0.5876 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5805, allocations: 46.69 kB / 0.5876 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.5806, allocations: 16.98 kB / 0.5876 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.5806, allocations: 4 kB / 0.5876 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.5807, allocations: 67.33 kB / 0.5877 GB, free: 1.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.5807, allocations: 0 / 0.5877 GB, free: 1.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004216/0.5811, allocations: 149.2 kB / 0.5878 GB, free: 1.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.5812, allocations: 51.41 kB / 0.5879 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.5814, allocations: 161.4 kB / 0.588 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5814, allocations: 29.7 kB / 0.5881 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.5814, allocations: 104.1 kB / 0.5882 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.5815, allocations: 27.64 kB / 0.5882 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.5815, allocations: 0 / 0.5882 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5816, allocations: 322.8 kB / 0.5885 GB, free: 292 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.5817, allocations: 12 kB / 0.5885 GB, free: 280 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.5817, allocations: 33.72 kB / 0.5885 GB, free: 240 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.5818, allocations: 27.92 kB / 0.5886 GB, free: 212 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5818, allocations: 4 kB / 0.5886 GB, free: 208 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001502/0.5819, allocations: 97.44 kB / 0.5887 GB, free: 104 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.582, allocations: 5.406 kB / 0.5887 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.582, allocations: 0 / 0.5887 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.582, allocations: 0 / 0.5887 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.5821, allocations: 19.98 kB / 0.5887 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5821, allocations: 0 / 0.5887 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.5822, allocations: 8.312 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5822, allocations: 4 kB / 0.5887 GB, free: 68 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 (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 9.21e-05/0.5823, allocations: 116.9 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001461/0.5824, allocations: 97.52 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.5825, allocations: 11.81 kB / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.5827, allocations: 106.2 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5827, allocations: 4 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5827, allocations: 0 / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5827, allocations: 0 / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.5831, allocations: 379.9 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5831, allocations: 3.938 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.5832, allocations: 15.94 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5832, allocations: 0 / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5832, allocations: 4 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5832, allocations: 0 / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5832, allocations: 0 / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.5834, allocations: 217.8 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.5835, allocations: 97 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.5835, allocations: 0 / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.5836, allocations: 4 kB / 0.5897 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.5836, allocations: 7.938 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.5837, allocations: 4 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.5838, allocations: 141 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5838, allocations: 0 / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.584, allocations: 24 kB / 0.5899 GB, free: 14.75 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.001323/0.5854, allocations: 1.11 MB / 0.591 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.5855, allocations: 51.94 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5855, allocations: 0 / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/0.5856, allocations: 36 kB / 0.591 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5859, allocations: 29.48 kB / 0.5911 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.5864, allocations: 210.9 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.5867, allocations: 0.7079 MB / 0.592 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.5868, allocations: 28.47 kB / 0.592 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.5869, allocations: 39.36 kB / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5869, allocations: 0 / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.6071, allocations: 2.646 MB / 0.5946 GB, free: 9.891 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.6073, allocations: 167.3 kB / 0.5948 GB, free: 9.699 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.158, allocations: 0 / 0.5948 GB, free: 9.699 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat