Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 191 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.292/0.292, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 65.14 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.142, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003138/0.1451, allocations: 1.615 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.1461, allocations: 0.6958 MB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1461, allocations: 0 / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1463, allocations: 19.86 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1466, allocations: 47.75 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.1466, allocations: 0 / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1467, allocations: 27.92 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1468, allocations: 7.984 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.1468, allocations: 11.92 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.1469, allocations: 19.94 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1469, allocations: 0 / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.695e-05/0.1469, allocations: 11.94 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.147, allocations: 19.91 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.147, allocations: 19.81 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1471, allocations: 67.8 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1471, allocations: 0 / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1471, allocations: 0 / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1472, allocations: 7.938 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003101/0.1475, allocations: 359.3 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.1475, allocations: 12.03 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.1475, allocations: 8.844 kB / 473.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1477, allocations: 180.2 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1477, allocations: 384 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1477, allocations: 4.375 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1479, allocations: 123.3 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.1479, allocations: 4.188 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1479, allocations: 3.938 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.1479, allocations: 23.98 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.148, allocations: 47.84 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.1487, allocations: 0.8868 MB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1489, allocations: 173.2 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.149, allocations: 80.14 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.1491, allocations: 83.22 kB / 475.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.1492, allocations: 105.8 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1492, allocations: 0 / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.774e-05/0.1493, allocations: 37.61 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.1494, allocations: 130.6 kB / 475.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1497, allocations: 186.1 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1497, allocations: 25.7 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.1498, allocations: 151.1 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.1498, allocations: 4 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.1499, allocations: 41.61 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.15, allocations: 322.8 kB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.1501, allocations: 31.98 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1502, allocations: 153.2 kB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.1504, allocations: 212.8 kB / 476.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1504, allocations: 4 kB / 476.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002671/0.1507, allocations: 197.4 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1507, allocations: 8 kB / 476.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1507, allocations: 4 kB / 476.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1508, allocations: 4 kB / 476.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1509, allocations: 39.86 kB / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1509, allocations: 11.94 kB / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.151, allocations: 27.69 kB / 476.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.151, allocations: 8 kB / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.1511, allocations: 226.1 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.1512, allocations: 112.8 kB / 477.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.1513, allocations: 116.8 kB / 477.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/0.1514, allocations: 176.3 kB / 477.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.751e-05/0.1514, allocations: 188.2 kB / 477.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.528e-05/0.1515, allocations: 184.2 kB / 477.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1518, allocations: 421.2 kB / 478.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/0.1518, allocations: 108.9 kB / 478.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.1519, allocations: 105 kB / 478.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/0.152, allocations: 184.2 kB / 478.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.152, allocations: 180.3 kB / 478.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.529e-05/0.1521, allocations: 184.3 kB / 479 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.795e-05/0.1522, allocations: 184.2 kB / 479.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1523, allocations: 311.7 kB / 479.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.1524, allocations: 193.9 kB / 479.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.1525, allocations: 180.3 kB / 479.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.1526, allocations: 104.9 kB / 480 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.1526, allocations: 180.2 kB / 480.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.1527, allocations: 108.9 kB / 480.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.1528, allocations: 131.2 kB / 480.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1528, allocations: 0 / 480.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1531, allocations: 12 kB / 480.4 MB, free: 3.281 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004429/0.1535, allocations: 275.4 kB / 480.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1537, allocations: 75.78 kB / 480.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1537, allocations: 1.25 kB / 480.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.1537, allocations: 0 / 480.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1541, allocations: 479.5 kB / 481.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.1544, allocations: 245.1 kB / 481.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.1549, allocations: 0.6967 MB / 482.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.1551, allocations: 56.95 kB / 482.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.1551, allocations: 11.44 kB / 482.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1551, allocations: 0 / 482.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Templates: time 0.002495/0.1576, allocations: 0.6712 MB / 482.9 MB, free: 0.7812 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches