Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.00169/0.001689, allocations: 180.1 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.491/1.491, allocations: 221.3 MB / 236 MB, free: 2.945 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.0008675/0.0008676, allocations: 91.55 kB / 287 MB, free: 244 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.2062/0.2062, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/3.985e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.6263, allocations: 89.9 MB / 0.5896 GB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.6266, allocations: 75.95 kB / 0.5897 GB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03378/0.6604, allocations: 12.4 MB / 0.6018 GB, free: 2.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6605, allocations: 0 / 0.6018 GB, free: 2.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.8e-05/0.6605, allocations: 8 kB / 0.6018 GB, free: 2.852 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001286/0.6618, allocations: 0.6822 MB / 0.6025 GB, free: 2.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.6619, allocations: 8.031 kB / 0.6025 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.662, allocations: 46.55 kB / 0.6025 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.6622, allocations: 63.23 kB / 0.6026 GB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.6631, allocations: 419 kB / 0.603 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.6632, allocations: 16 kB / 0.603 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.6632, allocations: 15.91 kB / 0.603 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.6637, allocations: 197 kB / 0.6032 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.6637, allocations: 7.875 kB / 0.6032 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.6637, allocations: 11.98 kB / 0.6032 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6637, allocations: 0 / 0.6032 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.6639, allocations: 87.95 kB / 0.6033 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.6652, allocations: 0.8366 MB / 0.6041 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.6657, allocations: 238.6 kB / 0.6043 GB, free: 24 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.6659, allocations: 83.59 kB / 0.6044 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.6659, allocations: 4 kB / 0.6044 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.6662, allocations: 201.8 kB / 0.6046 GB, free: 15.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.6663, allocations: 0 / 0.6046 GB, free: 15.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001941/0.6682, allocations: 0.9685 MB / 0.6056 GB, free: 14.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.6683, allocations: 140.5 kB / 0.6057 GB, free: 14.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/0.6692, allocations: 0.6649 MB / 0.6063 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.6693, allocations: 37.7 kB / 0.6064 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.6694, allocations: 237 kB / 0.6066 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.6696, allocations: 138.1 kB / 0.6067 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.6696, allocations: 8 kB / 0.6067 GB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6698, allocations: 378.7 kB / 0.6071 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.67, allocations: 108.9 kB / 0.6072 GB, free: 12.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.6702, allocations: 185.9 kB / 0.6074 GB, free: 12.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.6704, allocations: 123.3 kB / 0.6075 GB, free: 12.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6704, allocations: 4 kB / 0.6075 GB, free: 12.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006491/0.6711, allocations: 424.9 kB / 0.6079 GB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6711, allocations: 9.25 kB / 0.6079 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6711, allocations: 0 / 0.6079 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6712, allocations: 4 kB / 0.6079 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.6715, allocations: 87.89 kB / 0.608 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.6715, allocations: 4 kB / 0.608 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.6717, allocations: 28.09 kB / 0.608 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.6717, allocations: 20 kB / 0.6081 GB, free: 12.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001276/0.6719, allocations: 146.9 kB / 0.6082 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.672, allocations: 71.09 kB / 0.6083 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009029/0.6729, allocations: 0.4917 MB / 0.6087 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.6729, allocations: 8 kB / 0.6088 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6729, allocations: 4 kB / 0.6088 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.673, allocations: 7.984 kB / 0.6088 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.675, allocations: 1.4 MB / 0.6101 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.6751, allocations: 0 / 0.6101 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.6753, allocations: 67.91 kB / 0.6102 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.6753, allocations: 8 kB / 0.6102 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.6754, allocations: 12 kB / 0.6102 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.821e-05/0.6754, allocations: 16.17 kB / 0.6102 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6754, allocations: 4 kB / 0.6102 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.6765, allocations: 0.9128 MB / 0.6111 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.6769, allocations: 220.1 kB / 0.6113 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.677, allocations: 12 kB / 0.6114 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.6773, allocations: 27.98 kB / 0.6114 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6775, allocations: 39.89 kB / 0.6114 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.6775, allocations: 23.98 kB / 0.6114 GB, free: 8.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009035/0.6784, allocations: 0.5366 MB / 0.612 GB, free: 7.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.6784, allocations: 0 / 0.612 GB, free: 7.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008403/0.6793, allocations: 111.9 kB / 0.6121 GB, free: 7.738 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003903/0.6832, allocations: 2.611 MB / 0.6146 GB, free: 5.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007848/0.684, allocations: 307 kB / 0.6149 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.684, allocations: 4.062 kB / 0.6149 GB, free: 4.863 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.6844, allocations: 167.7 kB / 0.6151 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/0.6854, allocations: 105.9 kB / 0.6152 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.6884, allocations: 1.016 MB / 0.6162 GB, free: 3.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008319/0.6893, allocations: 0.8944 MB / 0.617 GB, free: 2.594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003807/0.6897, allocations: 103.2 kB / 0.6171 GB, free: 2.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/0.6901, allocations: 191.4 kB / 0.6173 GB, free: 2.305 MB / 426.7 MB Notification: Performance of SimCode: time 1.552e-06/0.6901, allocations: 0 / 0.6173 GB, free: 2.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.7201, allocations: 10.4 MB / 0.6275 GB, free: 8.012 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.7204, allocations: 190.6 kB / 0.6277 GB, free: 7.785 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.945, allocations: 0 / 0.6277 GB, free: 7.785 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat does not exist to compare? outputFormat=mat