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.001523/0.001523, allocations: 180.5 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.551/1.551, allocations: 221.3 MB / 236 MB, free: 2.996 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.0008621/0.0008621, allocations: 94.77 kB / 287 MB, free: 248 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.2487/0.2487, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.615e-05, allocations: 4 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1505, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.5553, allocations: 89.51 MB / 0.5892 GB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.5556, allocations: 78.3 kB / 0.5893 GB, free: 15.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03198/0.5876, allocations: 11.41 MB / 0.6004 GB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.5877, allocations: 0 / 0.6004 GB, free: 4.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.601e-05/0.5877, allocations: 8 kB / 0.6004 GB, free: 4.258 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.001121/0.5889, allocations: 0.6358 MB / 0.6011 GB, free: 3.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5889, allocations: 8.031 kB / 0.6011 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.589, allocations: 54.48 kB / 0.6011 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5891, allocations: 51.34 kB / 0.6012 GB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.59, allocations: 423 kB / 0.6016 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.59, allocations: 16.39 kB / 0.6016 GB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.5901, allocations: 15.98 kB / 0.6016 GB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.5904, allocations: 202.9 kB / 0.6018 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5904, allocations: 4 kB / 0.6018 GB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.5905, allocations: 4 kB / 0.6018 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5905, allocations: 4 kB / 0.6018 GB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.5907, allocations: 99.83 kB / 0.6019 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000995/0.5917, allocations: 0.8956 MB / 0.6028 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.5921, allocations: 269.8 kB / 0.603 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.5922, allocations: 96.41 kB / 0.6031 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.5923, allocations: 4 kB / 0.6031 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.5926, allocations: 231.4 kB / 0.6034 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 4.298e-06/0.5926, allocations: 3.984 kB / 0.6034 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001531/0.5942, allocations: 0.8895 MB / 0.6042 GB, free: 92 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.5943, allocations: 162.2 kB / 0.6044 GB, free: 15.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.595, allocations: 0.5476 MB / 0.6049 GB, free: 15.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.595, allocations: 41.69 kB / 0.605 GB, free: 15.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.5952, allocations: 228.7 kB / 0.6052 GB, free: 15.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.5953, allocations: 121.1 kB / 0.6053 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/0.5953, allocations: 8 kB / 0.6053 GB, free: 14.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5954, allocations: 370.8 kB / 0.6057 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.5956, allocations: 88.88 kB / 0.6057 GB, free: 14.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.5958, allocations: 180.9 kB / 0.6059 GB, free: 14.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.596, allocations: 112.3 kB / 0.606 GB, free: 14.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.596, allocations: 0 / 0.606 GB, free: 14.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005801/0.5966, allocations: 392.6 kB / 0.6064 GB, free: 13.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5966, allocations: 11.95 kB / 0.6064 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.5966, allocations: 0 / 0.6064 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.5967, allocations: 8 kB / 0.6064 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.597, allocations: 83.84 kB / 0.6065 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.597, allocations: 7.984 kB / 0.6065 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.5972, allocations: 20 kB / 0.6065 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.5972, allocations: 20.14 kB / 0.6065 GB, free: 13.62 MB / 426.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.0001152/0.5974, allocations: 147.9 kB / 0.6067 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.5974, allocations: 63.23 kB / 0.6067 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.5982, allocations: 461.6 kB / 0.6072 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5982, allocations: 4 kB / 0.6072 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.5982, allocations: 4.938 kB / 0.6072 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5982, allocations: 7.984 kB / 0.6072 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.5997, allocations: 1.35 MB / 0.6085 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5998, allocations: 4 kB / 0.6085 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.5999, allocations: 59.91 kB / 0.6086 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5999, allocations: 4 kB / 0.6086 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.6, allocations: 19.98 kB / 0.6086 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6, allocations: 4 kB / 0.6086 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6, allocations: 4.406 kB / 0.6086 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.6008, allocations: 0.9289 MB / 0.6095 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.601, allocations: 160.3 kB / 0.6097 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.6011, allocations: 19.94 kB / 0.6097 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.6014, allocations: 23.98 kB / 0.6097 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/0.6015, allocations: 43.89 kB / 0.6097 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.6016, allocations: 15.98 kB / 0.6098 GB, free: 10.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.6021, allocations: 453.5 kB / 0.6102 GB, free: 9.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6021, allocations: 0 / 0.6102 GB, free: 9.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.6026, allocations: 104 kB / 0.6103 GB, free: 9.57 MB / 426.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.002165/0.6048, allocations: 2.429 MB / 0.6127 GB, free: 7.188 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.6053, allocations: 291.5 kB / 0.6129 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6054, allocations: 0 / 0.6129 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.6056, allocations: 151.8 kB / 0.6131 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/0.6064, allocations: 129.3 kB / 0.6132 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.6082, allocations: 0.8333 MB / 0.614 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.6088, allocations: 0.8746 MB / 0.6149 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.609, allocations: 83.28 kB / 0.615 GB, free: 4.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.6093, allocations: 187.3 kB / 0.6151 GB, free: 4.566 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6093, allocations: 0 / 0.6151 GB, free: 4.566 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.6344, allocations: 10.16 MB / 0.6251 GB, free: 10.52 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.6347, allocations: 188 kB / 0.6252 GB, free: 10.29 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.984, allocations: 4.062 kB / 0.6252 GB, free: 10.29 MB / 442.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