Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.001022/0.001022, allocations: 169 kB / 8.742 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.466/1.466, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008466/0.0008466, allocations: 90.78 kB / 281.6 MB, free: 5.309 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.2021/0.2021, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.262e-05, allocations: 11.94 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 61.92 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5783, allocations: 88.38 MB / 0.5811 GB, free: 7.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5787, allocations: 75.89 kB / 0.5812 GB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5939, allocations: 5.68 MB / 0.5867 GB, free: 2.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5939, allocations: 0 / 0.5867 GB, free: 2.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.5939, allocations: 4 kB / 0.5867 GB, free: 2.207 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005835/0.5945, allocations: 410.1 kB / 0.5871 GB, free: 1.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.5946, allocations: 15.98 kB / 0.5871 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.5947, allocations: 7.906 kB / 0.5871 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.5951, allocations: 230.2 kB / 0.5873 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.5951, allocations: 0 / 0.5873 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.5951, allocations: 7.953 kB / 0.5873 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.307e-05/0.5952, allocations: 15.98 kB / 0.5874 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.5953, allocations: 45.69 kB / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5953, allocations: 8 kB / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5954, allocations: 0 / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5954, allocations: 0 / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.5956, allocations: 174.2 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5958, allocations: 46.56 kB / 0.5876 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.5958, allocations: 20.8 kB / 0.5876 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.5958, allocations: 0 / 0.5876 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.596, allocations: 72.19 kB / 0.5877 GB, free: 1.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.596, allocations: 0 / 0.5877 GB, free: 1.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002207/0.5962, allocations: 81.5 kB / 0.5878 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5963, allocations: 51.41 kB / 0.5878 GB, free: 0.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.5965, allocations: 230 kB / 0.5881 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.5966, allocations: 25.7 kB / 0.5881 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.5966, allocations: 112.1 kB / 0.5882 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.5967, allocations: 19.81 kB / 0.5882 GB, free: 488 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5967, allocations: 3.938 kB / 0.5882 GB, free: 484 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5969, allocations: 322.8 kB / 0.5885 GB, free: 152 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.5969, allocations: 12 kB / 0.5885 GB, free: 140 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.5969, allocations: 29.7 kB / 0.5886 GB, free: 104 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.597, allocations: 12 kB / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.597, allocations: 0 / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.5971, allocations: 77.53 kB / 0.5886 GB, free: 8 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5971, allocations: 4.938 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5972, allocations: 0 / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.5972, allocations: 4.188 kB / 0.5887 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.5973, allocations: 15.94 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.5973, allocations: 0 / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.5974, allocations: 11.84 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.5974, allocations: 4 kB / 0.5887 GB, free: 15.96 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 (7): * Single equations (assignments): 7 * 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.621e-05/0.5975, allocations: 106.4 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001158/0.5976, allocations: 85.55 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.5976, allocations: 15.81 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.5978, allocations: 95.23 kB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5978, allocations: 0 / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5978, allocations: 4.25 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5978, allocations: 0 / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.598, allocations: 186.1 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.598, allocations: 3.984 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.598, allocations: 4 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.598, allocations: 0 / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.598, allocations: 8 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.598, allocations: 3.938 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5981, allocations: 3.953 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.5982, allocations: 113 kB / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.5983, allocations: 92.92 kB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5983, allocations: 7.984 kB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.5984, allocations: 0 / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.5984, allocations: 11.95 kB / 0.5894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.5984, allocations: 4 kB / 0.5894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.5986, allocations: 192.2 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5986, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.5988, allocations: 28 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001211/0.6001, allocations: 0.8891 MB / 0.5905 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.6002, allocations: 28 kB / 0.5905 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6002, allocations: 0 / 0.5905 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.6003, allocations: 19.94 kB / 0.5905 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.6006, allocations: 31.75 kB / 0.5906 GB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.6012, allocations: 266.8 kB / 0.5908 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.6016, allocations: 0.7158 MB / 0.5915 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.242e-05/0.6017, allocations: 24.41 kB / 0.5915 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.6018, allocations: 39.42 kB / 0.5916 GB, free: 12.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6018, allocations: 0 / 0.5916 GB, free: 12.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.6239, allocations: 2.779 MB / 0.5943 GB, free: 10.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.6241, allocations: 163.2 kB / 0.5944 GB, free: 9.945 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.366, allocations: 7.938 kB / 0.5944 GB, free: 9.938 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat