Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009842/0.0009843, allocations: 179.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 221.3 MB / 236 MB, free: 2.98 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.0007683/0.0007681, allocations: 98 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1693/0.1693, allocations: 44.16 MB / 382.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.549e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3239/0.4278, allocations: 88.94 MB / 0.5886 GB, free: 388 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.428, allocations: 71.97 kB / 0.5886 GB, free: 316 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.4393, allocations: 4.641 MB / 0.5932 GB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4394, allocations: 3.938 kB / 0.5932 GB, free: 11.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4394, allocations: 11.94 kB / 0.5932 GB, free: 11.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004466/0.4399, allocations: 398.1 kB / 0.5936 GB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4399, allocations: 8.031 kB / 0.5936 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.44, allocations: 7.906 kB / 0.5936 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.4402, allocations: 205.9 kB / 0.5938 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4402, allocations: 11.89 kB / 0.5938 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4403, allocations: 7.906 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4404, allocations: 57.69 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4404, allocations: 0 / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4405, allocations: 0 / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4405, allocations: 4 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.4405, allocations: 27.98 kB / 0.5939 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.441, allocations: 332.7 kB / 0.5942 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.4412, allocations: 46.56 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.4413, allocations: 20.98 kB / 0.5943 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.4413, allocations: 0 / 0.5943 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4413, allocations: 34.59 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.4413, allocations: 0 / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006298/0.442, allocations: 249 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.442, allocations: 55.41 kB / 0.5946 GB, free: 10.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4422, allocations: 165.3 kB / 0.5947 GB, free: 9.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4422, allocations: 25.7 kB / 0.5948 GB, free: 9.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.4423, allocations: 104.1 kB / 0.5949 GB, free: 9.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4423, allocations: 43.45 kB / 0.5949 GB, free: 9.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.4423, allocations: 0 / 0.5949 GB, free: 9.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4424, allocations: 322.8 kB / 0.5952 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.4425, allocations: 39.98 kB / 0.5952 GB, free: 9.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.4426, allocations: 32 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.559e-05/0.4426, allocations: 46.81 kB / 0.5953 GB, free: 9.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4426, allocations: 0 / 0.5953 GB, free: 9.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001943/0.4428, allocations: 129.4 kB / 0.5954 GB, free: 9.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4429, allocations: 9.406 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4429, allocations: 0 / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4429, allocations: 7.984 kB / 0.5955 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.443, allocations: 27.98 kB / 0.5955 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.443, allocations: 7.891 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.546e-05/0.4431, allocations: 16.36 kB / 0.5955 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4431, allocations: 4 kB / 0.5955 GB, free: 9.059 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.574e-05/0.4432, allocations: 109 kB / 0.5956 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.4433, allocations: 11.84 kB / 0.5956 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.4435, allocations: 154.2 kB / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4435, allocations: 0 / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4436, allocations: 0 / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4436, allocations: 11.94 kB / 0.5958 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.4442, allocations: 487.9 kB / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4442, allocations: 3.984 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4443, allocations: 31.97 kB / 0.5963 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4443, allocations: 4 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4443, allocations: 3.953 kB / 0.5963 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4443, allocations: 4 kB / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4443, allocations: 3.938 kB / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.4446, allocations: 256.6 kB / 0.5965 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.4446, allocations: 92.92 kB / 0.5966 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.4447, allocations: 7.984 kB / 0.5966 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.4448, allocations: 12 kB / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.4448, allocations: 15.98 kB / 0.5967 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4448, allocations: 0 / 0.5967 GB, free: 7.746 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.445, allocations: 144.1 kB / 0.5968 GB, free: 7.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.933e-06/0.445, allocations: 3.938 kB / 0.5968 GB, free: 7.602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.4452, allocations: 35.92 kB / 0.5968 GB, free: 7.566 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0009128/0.4462, allocations: 426.6 kB / 0.5973 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.4463, allocations: 91.91 kB / 0.5973 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4463, allocations: 0 / 0.5973 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.4464, allocations: 51.92 kB / 0.5974 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.4467, allocations: 26.09 kB / 0.5974 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.4471, allocations: 219.7 kB / 0.5976 GB, free: 6.852 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.4473, allocations: 0.7238 MB / 0.5983 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.89e-05/0.4475, allocations: 40.38 kB / 0.5984 GB, free: 6.059 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.4475, allocations: 15.44 kB / 0.5984 GB, free: 6.043 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4475, allocations: 0 / 0.5984 GB, free: 6.043 MB / 410.7 MB Notification: Performance of Templates: time 0.003786/0.4513, allocations: 1.562 MB / 0.5999 GB, free: 4.484 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches