Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001418/0.001418, allocations: 175.1 kB / 8.739 MB, free: 348 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.578 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.0008285/0.000828, allocations: 99.09 kB / 281.6 MB, free: 5.324 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.1946/0.1946, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.234e-05, allocations: 8.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 61.93 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4973, allocations: 88.56 MB / 0.5813 GB, free: 7.766 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4976, allocations: 71.97 kB / 0.5813 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01533/0.5129, allocations: 5.712 MB / 0.5869 GB, free: 2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.513, allocations: 0 / 0.5869 GB, free: 2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.513, allocations: 2.953 kB / 0.5869 GB, free: 2 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.0004609/0.5135, allocations: 406.2 kB / 0.5873 GB, free: 1.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5135, allocations: 15.98 kB / 0.5873 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.5136, allocations: 15.81 kB / 0.5873 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.5139, allocations: 214.9 kB / 0.5875 GB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.5139, allocations: 3.953 kB / 0.5875 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.5139, allocations: 0 / 0.5875 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.87e-05/0.514, allocations: 19.94 kB / 0.5876 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.711e-05/0.5141, allocations: 53.67 kB / 0.5876 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5141, allocations: 3.906 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5141, allocations: 0 / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5142, allocations: 7.938 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.5145, allocations: 273.5 kB / 0.5879 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.5147, allocations: 54.69 kB / 0.5879 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.5147, allocations: 20.92 kB / 0.588 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.5147, allocations: 0 / 0.588 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.5149, allocations: 67.39 kB / 0.588 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5149, allocations: 0 / 0.588 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004737/0.5154, allocations: 149.1 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.5154, allocations: 55.41 kB / 0.5882 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.5156, allocations: 197.8 kB / 0.5884 GB, free: 296 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5156, allocations: 25.7 kB / 0.5884 GB, free: 264 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.5157, allocations: 108.1 kB / 0.5885 GB, free: 152 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.5157, allocations: 23.7 kB / 0.5886 GB, free: 128 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.5157, allocations: 4.75 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5159, allocations: 326.8 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.516, allocations: 16 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.516, allocations: 33.66 kB / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.5161, allocations: 27.94 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5161, allocations: 0 / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00014/0.5162, allocations: 89.53 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5162, allocations: 8.031 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5162, allocations: 7.969 kB / 0.589 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5163, allocations: 0 / 0.589 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.5164, allocations: 20 kB / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.5164, allocations: 0 / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.5164, allocations: 0 / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5165, allocations: 7.984 kB / 0.5891 GB, free: 15.57 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 9.825e-05/0.5166, allocations: 115.5 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001513/0.5167, allocations: 93.67 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.5168, allocations: 23.81 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.517, allocations: 115.7 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.517, allocations: 0 / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.517, allocations: 0 / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.517, allocations: 7.984 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.5175, allocations: 387.8 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5175, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.5176, allocations: 15.97 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5176, allocations: 4 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5176, allocations: 3.984 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5176, allocations: 0 / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5176, allocations: 0 / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.5179, allocations: 222 kB / 0.59 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.518, allocations: 89.02 kB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.518, allocations: 7.984 kB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.5181, allocations: 4 kB / 0.5901 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.5181, allocations: 11.95 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.5181, allocations: 4.359 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.5183, allocations: 155.2 kB / 0.5903 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5183, allocations: 0 / 0.5903 GB, free: 14.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000285/0.5186, allocations: 43.84 kB / 0.5903 GB, free: 14.19 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.001346/0.52, allocations: 1.109 MB / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.5201, allocations: 44 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5201, allocations: 0 / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.5202, allocations: 27.94 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.5205, allocations: 32.17 kB / 0.5915 GB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.5211, allocations: 251.6 kB / 0.5917 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.5215, allocations: 0.7235 MB / 0.5924 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.863e-05/0.5216, allocations: 16.86 kB / 0.5925 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.5216, allocations: 43.41 kB / 0.5925 GB, free: 11.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5217, allocations: 4 kB / 0.5925 GB, free: 11.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.5431, allocations: 2.849 MB / 0.5953 GB, free: 9.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.5434, allocations: 168.8 kB / 0.5955 GB, free: 8.895 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.139, allocations: 0 / 0.5955 GB, free: 8.895 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat