Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 174.4 kB / 8.74 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.391/1.391, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009326/0.0009325, allocations: 84.66 kB / 281.6 MB, free: 5.316 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.192/0.192, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.477e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 61.91 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4835, allocations: 88.5 MB / 0.5811 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4838, allocations: 71.97 kB / 0.5812 GB, free: 7.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.4986, allocations: 5.564 MB / 0.5866 GB, free: 2.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4987, allocations: 0 / 0.5866 GB, free: 2.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4987, allocations: 0 / 0.5866 GB, free: 2.359 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.0004511/0.4991, allocations: 398.2 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4992, allocations: 15.98 kB / 0.587 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.4992, allocations: 11.81 kB / 0.587 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4995, allocations: 224.6 kB / 0.5872 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4996, allocations: 3.953 kB / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.4996, allocations: 0 / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.9e-05/0.4997, allocations: 23.94 kB / 0.5873 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.4998, allocations: 53.61 kB / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4998, allocations: 0 / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4998, allocations: 0 / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.4998, allocations: 0 / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.5002, allocations: 281.4 kB / 0.5876 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.5003, allocations: 50.69 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.5003, allocations: 20.92 kB / 0.5877 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.5004, allocations: 0 / 0.5877 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.5005, allocations: 71.39 kB / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.5005, allocations: 0 / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000419/0.5009, allocations: 153.2 kB / 0.5879 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.501, allocations: 51.41 kB / 0.5879 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.5012, allocations: 193.4 kB / 0.5881 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.5012, allocations: 25.7 kB / 0.5881 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.5012, allocations: 100.1 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.5013, allocations: 23.66 kB / 0.5882 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5013, allocations: 0 / 0.5882 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5014, allocations: 326.8 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.5015, allocations: 20 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.5015, allocations: 33.7 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.5016, allocations: 27.92 kB / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5016, allocations: 0 / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001596/0.5017, allocations: 97.48 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5018, allocations: 4 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5018, allocations: 4 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5018, allocations: 0 / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.5019, allocations: 19.97 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5019, allocations: 192 / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.502, allocations: 4 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.502, allocations: 7.938 kB / 0.5888 GB, free: 15.95 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.256e-05/0.5021, allocations: 108.9 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.5021, allocations: 11.91 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.5023, allocations: 111.4 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5023, allocations: 0 / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5023, allocations: 11.98 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5023, allocations: 0 / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.5028, allocations: 387.7 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5028, allocations: 4 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.5028, allocations: 15.92 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5028, allocations: 0 / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5028, allocations: 0 / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5029, allocations: 4 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5029, allocations: 4.031 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.5031, allocations: 209.9 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.5032, allocations: 100.9 kB / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.5032, allocations: 0 / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.5033, allocations: 4 kB / 0.5897 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.5033, allocations: 11.98 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.5033, allocations: 4.188 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.5035, allocations: 148.2 kB / 0.5898 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5035, allocations: 0 / 0.5898 GB, free: 14.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.5038, allocations: 39.92 kB / 0.5899 GB, free: 14.7 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.00103/0.5048, allocations: 397.1 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.505, allocations: 48 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.505, allocations: 0 / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.505, allocations: 35.92 kB / 0.5903 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.5054, allocations: 28.06 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.5058, allocations: 173.9 kB / 0.5905 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5061, allocations: 0.7158 MB / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.5062, allocations: 20.48 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.5062, allocations: 19.44 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5062, allocations: 0 / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of Templates: time 0.00435/0.5106, allocations: 1.665 MB / 0.5929 GB, free: 11.64 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches