Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 111 kB / 17.33 MB, free: 6.02 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.002043/0.002044, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.426/1.426, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2132/0.2132, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 64.14 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1286, allocations: 60.83 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003237/0.1319, allocations: 1.689 MB / 470.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.1327, allocations: 423.1 kB / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.1328, allocations: 0 / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.1334, allocations: 447.2 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.1338, allocations: 251.5 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1342, allocations: 123.5 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1344, allocations: 163.7 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1346, allocations: 15.98 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1347, allocations: 103.8 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1349, allocations: 227.5 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.135, allocations: 4 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1351, allocations: 47.98 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1352, allocations: 91.61 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.1353, allocations: 99 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.1356, allocations: 259 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1356, allocations: 0 / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1356, allocations: 4 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1356, allocations: 0 / 472.6 MB, free: 10.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006698/0.1363, allocations: 0.6378 MB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1363, allocations: 8.031 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.1364, allocations: 48.31 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1367, allocations: 300.1 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1367, allocations: 4.375 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1367, allocations: 4.375 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1369, allocations: 61.75 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1369, allocations: 0 / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1369, allocations: 3.984 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1369, allocations: 0 / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.137, allocations: 35.92 kB / 473.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1375, allocations: 392.6 kB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1376, allocations: 46.59 kB / 474.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.1377, allocations: 16.86 kB / 474.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1377, allocations: 4 kB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1377, allocations: 34.64 kB / 474.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1377, allocations: 0 / 474.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000933/0.1387, allocations: 296.1 kB / 474.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1387, allocations: 59.34 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/0.1395, allocations: 0.8535 MB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1395, allocations: 29.7 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1397, allocations: 220.1 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1397, allocations: 31.53 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.1398, allocations: 21.72 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1399, allocations: 358.8 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.14, allocations: 31.98 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.1401, allocations: 23.98 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1402, allocations: 64.77 kB / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1402, allocations: 0 / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002296/0.1405, allocations: 129.1 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1405, allocations: 7.984 kB / 476.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1405, allocations: 8 kB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1405, allocations: 0 / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.1406, allocations: 16 kB / 476.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1407, allocations: 7.922 kB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.1407, allocations: 4 kB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1407, allocations: 0 / 476.3 MB, free: 6.895 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 (8): * Single equations (assignments): 8 * 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.0001961/0.1409, allocations: 214.2 kB / 476.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.141, allocations: 47.45 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.1413, allocations: 173.6 kB / 476.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1413, allocations: 0 / 476.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.1413, allocations: 3.938 kB / 476.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1413, allocations: 3.938 kB / 476.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.142, allocations: 0.4915 MB / 477.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.142, allocations: 3.938 kB / 477.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.142, allocations: 19.92 kB / 477.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1421, allocations: 0 / 477.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1421, allocations: 4 kB / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1421, allocations: 0 / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1421, allocations: 0 / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1424, allocations: 243.8 kB / 477.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.1424, allocations: 108.6 kB / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1425, allocations: 4 kB / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.1426, allocations: 3.984 kB / 477.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1426, allocations: 4 kB / 477.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1426, allocations: 8 kB / 477.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006105/0.1432, allocations: 0.651 MB / 478.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1433, allocations: 4 kB / 478.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1435, allocations: 28 kB / 478.3 MB, free: 4.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001053/0.1446, allocations: 460.9 kB / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.1448, allocations: 67.91 kB / 478.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1449, allocations: 0 / 478.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.1449, allocations: 35.97 kB / 478.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1454, allocations: 33.77 kB / 478.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1466, allocations: 0.9094 MB / 479.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.147, allocations: 0.8221 MB / 480.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.147, allocations: 12.95 kB / 480.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1471, allocations: 15.44 kB / 480.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1471, allocations: 7.938 kB / 480.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of Templates: time 0.005302/0.1524, allocations: 1.658 MB / 482.3 MB, free: 0.8945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches