Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001134/0.001134, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.4 MB / 236 MB, free: 2.949 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.0009447/0.0009448, allocations: 91.75 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.566e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1492, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.479/0.6283, allocations: 89.18 MB / 0.5889 GB, free: 92 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.6285, allocations: 75.36 kB / 0.589 GB, free: 20 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.6437, allocations: 5.509 MB / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6438, allocations: 0 / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.6438, allocations: 0 / 0.5943 GB, free: 10.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004846/0.6443, allocations: 410.2 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6443, allocations: 8.031 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.6444, allocations: 38.55 kB / 0.5948 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.6444, allocations: 11.81 kB / 0.5948 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.6447, allocations: 211.6 kB / 0.595 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6448, allocations: 11.88 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.6448, allocations: 4 kB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.6449, allocations: 53.62 kB / 0.5951 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.645, allocations: 4 kB / 0.5951 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.645, allocations: 0 / 0.5951 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.645, allocations: 3.938 kB / 0.5951 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.966e-05/0.6451, allocations: 19.98 kB / 0.5951 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.6455, allocations: 300.9 kB / 0.5954 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.6456, allocations: 54.62 kB / 0.5954 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.6457, allocations: 20.98 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.6457, allocations: 4 kB / 0.5955 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.6458, allocations: 63.39 kB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.6458, allocations: 0 / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004545/0.6463, allocations: 157.1 kB / 0.5957 GB, free: 8.988 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.6463, allocations: 51.41 kB / 0.5957 GB, free: 8.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.6466, allocations: 187.7 kB / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.6466, allocations: 29.7 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.6467, allocations: 104.1 kB / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.6467, allocations: 23.66 kB / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.6467, allocations: 0 / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6469, allocations: 330.8 kB / 0.5964 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.6469, allocations: 16 kB / 0.5964 GB, free: 8.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.647, allocations: 37.64 kB / 0.5964 GB, free: 8.176 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.647, allocations: 27.98 kB / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.647, allocations: 4 kB / 0.5964 GB, free: 8.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001537/0.6472, allocations: 93.58 kB / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6472, allocations: 4 kB / 0.5965 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6472, allocations: 4 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6472, allocations: 0 / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.6473, allocations: 15.94 kB / 0.5966 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6474, allocations: 4.172 kB / 0.5966 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.6474, allocations: 12 kB / 0.5966 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.6474, allocations: 8.031 kB / 0.5966 GB, free: 8 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 7.129e-05/0.6475, allocations: 108.9 kB / 0.5967 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.6475, allocations: 11.81 kB / 0.5967 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.6478, allocations: 127.2 kB / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6478, allocations: 0 / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6478, allocations: 0 / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6478, allocations: 0 / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.6482, allocations: 415.3 kB / 0.5972 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6483, allocations: 3.984 kB / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.6483, allocations: 11.94 kB / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6483, allocations: 0 / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.6483, allocations: 8 kB / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6483, allocations: 3.938 kB / 0.5972 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6484, allocations: 0 / 0.5972 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.6486, allocations: 225.8 kB / 0.5974 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.6487, allocations: 93 kB / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.6487, allocations: 0 / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.6488, allocations: 8 kB / 0.5975 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.6488, allocations: 11.94 kB / 0.5976 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.6488, allocations: 4 kB / 0.5976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.649, allocations: 148.9 kB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.649, allocations: 0 / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.6492, allocations: 39.94 kB / 0.5977 GB, free: 6.691 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.001373/0.6506, allocations: 1.146 MB / 0.5989 GB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.6507, allocations: 55.94 kB / 0.5989 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6508, allocations: 0 / 0.5989 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.6508, allocations: 39.86 kB / 0.599 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.6511, allocations: 23.94 kB / 0.599 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.6516, allocations: 233.1 kB / 0.5992 GB, free: 5.262 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.6519, allocations: 0.7121 MB / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.652, allocations: 16.42 kB / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.652, allocations: 39.41 kB / 0.5999 GB, free: 4.469 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6521, allocations: 4 kB / 0.5999 GB, free: 4.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.666, allocations: 3.071 MB / 0.6029 GB, free: 1.48 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.6663, allocations: 190.5 kB / 0.6031 GB, free: 1.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.382, allocations: 4 kB / 0.6031 GB, free: 1.246 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat