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.0009906/0.0009907, allocations: 170.6 kB / 8.739 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.429/1.429, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.001075/0.001075, allocations: 93.84 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.2058/0.2058, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.017e-05, allocations: 8 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 61.93 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.539, allocations: 88.52 MB / 0.5812 GB, free: 7.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.5392, allocations: 67.97 kB / 0.5813 GB, free: 7.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.5546, allocations: 5.479 MB / 0.5866 GB, free: 2.305 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.5547, allocations: 4 kB / 0.5866 GB, free: 2.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.5547, allocations: 0 / 0.5866 GB, free: 2.301 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.0004565/0.5552, allocations: 398.2 kB / 0.587 GB, free: 1.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5552, allocations: 11.98 kB / 0.587 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.5553, allocations: 15.81 kB / 0.587 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.5556, allocations: 219.5 kB / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5557, allocations: 3.953 kB / 0.5873 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.5557, allocations: 4 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.195e-05/0.5558, allocations: 16 kB / 0.5873 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.5559, allocations: 49.67 kB / 0.5873 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5559, allocations: 4 kB / 0.5873 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5559, allocations: 3.938 kB / 0.5873 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.5559, allocations: 0 / 0.5873 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.5563, allocations: 277.4 kB / 0.5876 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.5564, allocations: 46.7 kB / 0.5876 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.5564, allocations: 20.97 kB / 0.5877 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5564, allocations: 4 kB / 0.5877 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.5566, allocations: 59.41 kB / 0.5877 GB, free: 1.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5566, allocations: 4 kB / 0.5877 GB, free: 1.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004225/0.557, allocations: 153.1 kB / 0.5879 GB, free: 0.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.5571, allocations: 55.41 kB / 0.5879 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.5572, allocations: 175.7 kB / 0.5881 GB, free: 0.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5573, allocations: 26.45 kB / 0.5881 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.5573, allocations: 100.1 kB / 0.5882 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.5574, allocations: 27.64 kB / 0.5882 GB, free: 476 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5574, allocations: 0 / 0.5882 GB, free: 476 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5575, allocations: 326.8 kB / 0.5886 GB, free: 140 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.5575, allocations: 20 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.5576, allocations: 37.59 kB / 0.5886 GB, free: 76 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.5576, allocations: 27.94 kB / 0.5886 GB, free: 48 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5576, allocations: 0 / 0.5886 GB, free: 48 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001535/0.5578, allocations: 81.59 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5578, allocations: 8 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5578, allocations: 0 / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5579, allocations: 8 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.558, allocations: 23.94 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.558, allocations: 4 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.558, allocations: 192 / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.558, allocations: 8 kB / 0.5888 GB, free: 15.91 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.344e-05/0.5581, allocations: 115.5 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001385/0.5583, allocations: 93.48 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.5583, allocations: 11.84 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.5585, allocations: 115.7 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5585, allocations: 4 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5585, allocations: 0 / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5585, allocations: 0 / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.5589, allocations: 379.8 kB / 0.5894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5589, allocations: 3.938 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.559, allocations: 19.92 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.559, allocations: 4 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.559, allocations: 0 / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.559, allocations: 4.031 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.559, allocations: 4 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.5593, allocations: 213.9 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.5593, allocations: 96.91 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.5594, allocations: 4.375 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.5594, allocations: 4 kB / 0.5898 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.5595, allocations: 11.94 kB / 0.5898 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.5595, allocations: 4 kB / 0.5898 GB, free: 14.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.5596, allocations: 151.9 kB / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5597, allocations: 0 / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.5599, allocations: 31.94 kB / 0.59 GB, free: 14.56 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.001377/0.5613, allocations: 1.093 MB / 0.591 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.5615, allocations: 55.94 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5615, allocations: 3.938 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.274e-05/0.5615, allocations: 23.94 kB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.5618, allocations: 33.08 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.5624, allocations: 231.6 kB / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5626, allocations: 0.708 MB / 0.5921 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.584e-05/0.5627, allocations: 24.7 kB / 0.5921 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.5628, allocations: 39.42 kB / 0.5921 GB, free: 12.35 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5628, allocations: 0 / 0.5921 GB, free: 12.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.5843, allocations: 2.714 MB / 0.5948 GB, free: 9.648 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.5845, allocations: 170.1 kB / 0.5949 GB, free: 9.453 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.166, allocations: 4 kB / 0.5949 GB, free: 9.449 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