Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009418/0.0009419, allocations: 175.7 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.3/1.3, 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.0008988/0.0008988, allocations: 96.22 kB / 281.6 MB, free: 5.344 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.2138/0.2138, allocations: 44.15 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.035e-05, allocations: 8.203 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 61.9 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5395, allocations: 90.33 MB / 0.5829 GB, free: 6.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.5398, allocations: 67.95 kB / 0.5829 GB, free: 6.137 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02275/0.5625, allocations: 8.857 MB / 0.5916 GB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5626, allocations: 4 kB / 0.5916 GB, free: 13.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.5626, allocations: 12.22 kB / 0.5916 GB, free: 13.27 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006442/0.5633, allocations: 0.5482 MB / 0.5921 GB, free: 12.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5633, allocations: 8.031 kB / 0.5922 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/0.5634, allocations: 47.38 kB / 0.5922 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.5639, allocations: 355.3 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.564, allocations: 4 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.564, allocations: 8 kB / 0.5925 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001552/0.5642, allocations: 75.91 kB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.5643, allocations: 101.5 kB / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5644, allocations: 4 kB / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5644, allocations: 0 / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5644, allocations: 0 / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.5651, allocations: 0.5008 MB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.5652, allocations: 98.53 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.5653, allocations: 32.86 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.5653, allocations: 0 / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.5654, allocations: 42.5 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/0.5654, allocations: 0 / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007309/0.5661, allocations: 366.6 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.5662, allocations: 51.41 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.5667, allocations: 485.1 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5667, allocations: 25.7 kB / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.5669, allocations: 208.3 kB / 0.5945 GB, free: 10.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.5669, allocations: 47.2 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.5669, allocations: 0 / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5671, allocations: 358.8 kB / 0.5948 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.5672, allocations: 55.97 kB / 0.5949 GB, free: 9.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.5673, allocations: 51.98 kB / 0.5949 GB, free: 9.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.974e-05/0.5673, allocations: 61.28 kB / 0.595 GB, free: 9.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5674, allocations: 0 / 0.595 GB, free: 9.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002755/0.5676, allocations: 206.3 kB / 0.5952 GB, free: 9.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5677, allocations: 4 kB / 0.5952 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5677, allocations: 0 / 0.5952 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5677, allocations: 0 / 0.5952 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.5679, allocations: 43.91 kB / 0.5952 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5679, allocations: 4 kB / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.568, allocations: 8 kB / 0.5953 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.568, allocations: 4 kB / 0.5953 GB, free: 9.32 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 (17): * Single equations (assignments): 17 * 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.245e-05/0.5681, allocations: 101 kB / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.5682, allocations: 43.48 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.5686, allocations: 258.6 kB / 0.5956 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5686, allocations: 4 kB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5686, allocations: 0 / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5686, allocations: 3.938 kB / 0.5957 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.5694, allocations: 0.6666 MB / 0.5963 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5694, allocations: 0 / 0.5963 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5696, allocations: 35.98 kB / 0.5963 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5696, allocations: 0 / 0.5963 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.5696, allocations: 0 / 0.5963 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5696, allocations: 7.938 kB / 0.5963 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.5696, allocations: 7.984 kB / 0.5964 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.5699, allocations: 303.9 kB / 0.5966 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5701, allocations: 148.5 kB / 0.5968 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.5701, allocations: 4 kB / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5702, allocations: 8 kB / 0.5968 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.5703, allocations: 15.98 kB / 0.5968 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5703, allocations: 7.984 kB / 0.5968 GB, free: 7.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003717/0.5707, allocations: 378.9 kB / 0.5972 GB, free: 7.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5707, allocations: 0 / 0.5972 GB, free: 7.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.5711, allocations: 67.92 kB / 0.5972 GB, free: 7.195 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001296/0.5724, allocations: 0.5755 MB / 0.5978 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.5726, allocations: 132 kB / 0.5979 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5726, allocations: 0 / 0.5979 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.5727, allocations: 75.92 kB / 0.598 GB, free: 6.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.5732, allocations: 71.17 kB / 0.5981 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.5741, allocations: 0.5426 MB / 0.5986 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.5745, allocations: 0.8297 MB / 0.5994 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.5747, allocations: 73.95 kB / 0.5995 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.5748, allocations: 35.42 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5748, allocations: 0 / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of Templates: time 0.006853/0.5816, allocations: 3.421 MB / 0.6029 GB, free: 1.527 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches