Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001998/0.001999, allocations: 194 kB / 18.77 MB, free: 4.742 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.554/1.554, allocations: 222.9 MB / 242.4 MB, free: 15.42 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.2005/0.2005, allocations: 44.18 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 70.19 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003871/0.1375, allocations: 1.677 MB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1393, allocations: 1.019 MB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.1394, allocations: 0 / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1396, allocations: 19.91 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1399, allocations: 31.86 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1403, allocations: 123 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1405, allocations: 55.84 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1406, allocations: 16.17 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.1407, allocations: 27.84 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1408, allocations: 27.86 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1409, allocations: 4 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.141, allocations: 51.95 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.1411, allocations: 11.94 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.1412, allocations: 23.86 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1414, allocations: 71.89 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1414, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1414, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1414, allocations: 0 / 472.3 MB, free: 11.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006897/0.1421, allocations: 387.5 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1421, allocations: 8.031 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.1422, allocations: 8.844 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1425, allocations: 192.2 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1425, allocations: 4.375 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1425, allocations: 4.375 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.1428, allocations: 79.31 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1428, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1428, allocations: 4 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1428, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.143, allocations: 35.91 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1434, allocations: 292.7 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1436, allocations: 38.56 kB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.1437, allocations: 24.94 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1437, allocations: 4 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.1437, allocations: 42.5 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1437, allocations: 0 / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008117/0.1446, allocations: 197.2 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1446, allocations: 81.11 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1448, allocations: 141.8 kB / 473.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1448, allocations: 29.64 kB / 473.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.1449, allocations: 100 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1449, allocations: 19.66 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.145, allocations: 21.72 kB / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1451, allocations: 314.8 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1452, allocations: 39.97 kB / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1454, allocations: 45.75 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.1456, allocations: 72.81 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1456, allocations: 0 / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002713/0.1459, allocations: 117.5 kB / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1459, allocations: 7.938 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1459, allocations: 0 / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1459, allocations: 4 kB / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1461, allocations: 15.98 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1461, allocations: 0 / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.1461, allocations: 15.92 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1461, allocations: 4 kB / 474.6 MB, free: 9.133 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.684e-05/0.1463, allocations: 122.4 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.1463, allocations: 3.906 kB / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.1466, allocations: 121.9 kB / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1466, allocations: 4 kB / 474.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1467, allocations: 0 / 474.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1467, allocations: 7.938 kB / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.1472, allocations: 382.9 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1472, allocations: 0 / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-05/0.1473, allocations: 23.92 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.1474, allocations: 4 kB / 475.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1474, allocations: 3.938 kB / 475.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1474, allocations: 4.078 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1474, allocations: 3.984 kB / 475.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1477, allocations: 203.4 kB / 475.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1478, allocations: 89 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1478, allocations: 3.938 kB / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.1479, allocations: 20.27 kB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1479, allocations: 0 / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.148, allocations: 4 kB / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.148, allocations: 113.1 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.148, allocations: 3.938 kB / 475.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1483, allocations: 20 kB / 475.7 MB, free: 7.914 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 (7): * Single equations (assignments): 7 * 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.001154/0.1495, allocations: 441.8 kB / 476.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.1498, allocations: 79.92 kB / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1498, allocations: 0 / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1499, allocations: 47.91 kB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1503, allocations: 15.98 kB / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.1507, allocations: 217.5 kB / 476.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.151, allocations: 0.6965 MB / 477.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.151, allocations: 15.42 kB / 477.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.151, allocations: 0 / 477.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003972/0.155, allocations: 1.703 MB / 478.9 MB, free: 4.824 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches