Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.001489/0.001489, allocations: 170.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.402/1.402, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.0008723/0.0008726, allocations: 89.98 kB / 281.6 MB, free: 5.266 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.178/0.178, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.425e-05, allocations: 8.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5574, allocations: 88.56 MB / 0.5813 GB, free: 7.793 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.5577, allocations: 75.95 kB / 0.5813 GB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.574, allocations: 5.876 MB / 0.5871 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.574, allocations: 0 / 0.5871 GB, free: 1.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.574, allocations: 0 / 0.5871 GB, free: 1.859 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.0005224/0.5745, allocations: 426 kB / 0.5875 GB, free: 1.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5746, allocations: 11.98 kB / 0.5875 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.5747, allocations: 15.81 kB / 0.5875 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.575, allocations: 231.8 kB / 0.5877 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.575, allocations: 7.953 kB / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.5751, allocations: 0 / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.891e-05/0.5752, allocations: 19.98 kB / 0.5877 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5753, allocations: 53.61 kB / 0.5878 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5753, allocations: 0 / 0.5878 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5753, allocations: 3.938 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5753, allocations: 0 / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.5757, allocations: 293.4 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.5758, allocations: 50.69 kB / 0.5881 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.5759, allocations: 16.98 kB / 0.5881 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.5759, allocations: 0 / 0.5881 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.576, allocations: 67.33 kB / 0.5882 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.5761, allocations: 4 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004388/0.5765, allocations: 153.1 kB / 0.5884 GB, free: 380 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.5766, allocations: 55.34 kB / 0.5884 GB, free: 312 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.5768, allocations: 243 kB / 0.5886 GB, free: 64 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.5768, allocations: 29.69 kB / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.5769, allocations: 116.1 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.577, allocations: 15.72 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.577, allocations: 0 / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5771, allocations: 330.8 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.5772, allocations: 19.98 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.5772, allocations: 34.47 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.5773, allocations: 23.94 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5773, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001478/0.5775, allocations: 101.5 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5775, allocations: 8.188 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5775, allocations: 0 / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5775, allocations: 11.95 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.5776, allocations: 15.98 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5776, allocations: 4 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.5777, allocations: 3.938 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5777, allocations: 4 kB / 0.5893 GB, free: 15.33 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 8.985e-05/0.5778, allocations: 118.3 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000144/0.578, allocations: 93.67 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.578, allocations: 15.81 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.5782, allocations: 119.4 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5782, allocations: 4 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5782, allocations: 0 / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5782, allocations: 4 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.5787, allocations: 407.8 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5787, allocations: 3.938 kB / 0.5901 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.5787, allocations: 8 kB / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5788, allocations: 4 kB / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.5788, allocations: 32 / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5788, allocations: 4 kB / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5788, allocations: 4 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.579, allocations: 214 kB / 0.5903 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.24e-05/0.5791, allocations: 104.9 kB / 0.5904 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.5791, allocations: 0 / 0.5904 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5793, allocations: 11.98 kB / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5793, allocations: 7.953 kB / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.5793, allocations: 4 kB / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.5795, allocations: 196.2 kB / 0.5906 GB, free: 13.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5795, allocations: 0 / 0.5906 GB, free: 13.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.5798, allocations: 36 kB / 0.5906 GB, free: 13.89 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.001382/0.5812, allocations: 1.11 MB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.5813, allocations: 55.97 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5813, allocations: 0 / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/0.5814, allocations: 32.09 kB / 0.5918 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.5817, allocations: 38.47 kB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.5823, allocations: 291.6 kB / 0.5921 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.5826, allocations: 0.7288 MB / 0.5928 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.5827, allocations: 20.41 kB / 0.5928 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.5828, allocations: 47.42 kB / 0.5929 GB, free: 11.56 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.5828, allocations: 0 / 0.5929 GB, free: 11.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.6051, allocations: 3.12 MB / 0.5959 GB, free: 8.449 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.6054, allocations: 167.6 kB / 0.5961 GB, free: 8.254 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.425, allocations: 0 / 0.5961 GB, free: 8.254 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat