Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 167.6 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.443/1.443, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.001006/0.001006, allocations: 104.6 kB / 281.6 MB, free: 5.246 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.2924/0.2924, allocations: 44.15 MB / 376.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.892e-05, allocations: 4.219 kB / 444.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 61.91 MB / 0.4947 GB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5445, allocations: 88.55 MB / 0.5812 GB, free: 7.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5448, allocations: 75.97 kB / 0.5812 GB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.5602, allocations: 5.836 MB / 0.5869 GB, free: 1.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5602, allocations: 0 / 0.5869 GB, free: 1.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.5603, allocations: 0 / 0.5869 GB, free: 1.992 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.0004913/0.5608, allocations: 410.1 kB / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5608, allocations: 15.98 kB / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.5609, allocations: 7.906 kB / 0.5873 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.5612, allocations: 234.2 kB / 0.5876 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.5612, allocations: 7.953 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5613, allocations: 4 kB / 0.5876 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.048e-05/0.5614, allocations: 23.98 kB / 0.5876 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.5615, allocations: 49.61 kB / 0.5876 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5615, allocations: 4 kB / 0.5876 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5616, allocations: 3.938 kB / 0.5877 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5616, allocations: 0 / 0.5877 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.562, allocations: 281.5 kB / 0.5879 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.5622, allocations: 54.69 kB / 0.588 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.5622, allocations: 16.98 kB / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.5622, allocations: 0 / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.5624, allocations: 75.23 kB / 0.5881 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.5624, allocations: 0 / 0.5881 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000482/0.5629, allocations: 145.2 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.5629, allocations: 59.41 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.5632, allocations: 226 kB / 0.5885 GB, free: 232 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.5632, allocations: 29.7 kB / 0.5885 GB, free: 196 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.5633, allocations: 108.1 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.5633, allocations: 27.64 kB / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5634, allocations: 0 / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5635, allocations: 330.8 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.5636, allocations: 12 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.5636, allocations: 38.45 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.5637, allocations: 23.95 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5637, allocations: 0 / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.5638, allocations: 97.42 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5639, allocations: 5.438 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5639, allocations: 0 / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5639, allocations: 7.938 kB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.564, allocations: 16 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.564, allocations: 4.031 kB / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.5641, allocations: 7.984 kB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5641, allocations: 4 kB / 0.5892 GB, free: 15.5 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 8.097e-05/0.5642, allocations: 108.6 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.5642, allocations: 15.81 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5644, allocations: 115.4 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5644, allocations: 192 / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5644, allocations: 4 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5645, allocations: 4 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.5649, allocations: 399.8 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5649, allocations: 0 / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.5649, allocations: 27.91 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5649, allocations: 3.938 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.565, allocations: 0 / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.565, allocations: 4 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.565, allocations: 0 / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.5652, allocations: 218 kB / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.5653, allocations: 104.9 kB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.5653, allocations: 0 / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.5654, allocations: 4 kB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.5654, allocations: 7.984 kB / 0.5901 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.5655, allocations: 4 kB / 0.5901 GB, free: 14.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.5656, allocations: 192.2 kB / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5656, allocations: 0 / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.5659, allocations: 35.94 kB / 0.5903 GB, free: 14.18 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.0009046/0.5668, allocations: 396.9 kB / 0.5907 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.567, allocations: 47.94 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.567, allocations: 8 kB / 0.5908 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.567, allocations: 23.94 kB / 0.5908 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.5673, allocations: 37.39 kB / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.5678, allocations: 214 kB / 0.591 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.5682, allocations: 0.7275 MB / 0.5917 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.5682, allocations: 20.41 kB / 0.5918 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.5683, allocations: 15.44 kB / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5683, allocations: 7.938 kB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of Templates: time 0.004464/0.5727, allocations: 1.738 MB / 0.5935 GB, free: 10.98 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches