Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001207/0.001207, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.317/1.317, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2035/0.2035, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.81 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1325, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002963/0.1355, allocations: 1.616 MB / 470.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.137, allocations: 1.031 MB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.137, allocations: 0 / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.1372, allocations: 27.8 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1374, allocations: 43.78 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1377, allocations: 138.9 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1379, allocations: 59.78 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.138, allocations: 16.17 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.138, allocations: 31.91 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1382, allocations: 23.86 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1382, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1383, allocations: 55.97 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1383, allocations: 15.92 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.1384, allocations: 23.86 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1386, allocations: 95.7 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1386, allocations: 0 / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1386, allocations: 0 / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1386, allocations: 0 / 472.4 MB, free: 11.19 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.0004437/0.139, allocations: 391.5 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1391, allocations: 12.03 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.1391, allocations: 12.84 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1393, allocations: 180.2 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1393, allocations: 4.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1393, allocations: 384 / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1395, allocations: 79.27 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1396, allocations: 4 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1396, allocations: 3.984 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1396, allocations: 0 / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1397, allocations: 35.97 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1401, allocations: 284.7 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1402, allocations: 58.58 kB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.1403, allocations: 24.83 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1403, allocations: 4 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1403, allocations: 30.56 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1404, allocations: 0 / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007288/0.1411, allocations: 197.3 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1411, allocations: 85.09 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1413, allocations: 136.3 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1413, allocations: 25.7 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.1413, allocations: 96.03 kB / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1414, allocations: 27.66 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.1414, allocations: 21.7 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1415, allocations: 318.8 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1416, allocations: 27.97 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1418, allocations: 49.75 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.142, allocations: 88.7 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.142, allocations: 0 / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000243/0.1422, allocations: 101.6 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1422, allocations: 11.98 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1423, allocations: 0 / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1423, allocations: 8 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1424, allocations: 19.98 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1424, allocations: 0 / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.1425, allocations: 11.92 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1425, allocations: 11.94 kB / 474.7 MB, free: 8.633 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 8.271e-05/0.1426, allocations: 117.8 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.1426, allocations: 7.906 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.1429, allocations: 126.3 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1429, allocations: 0 / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1429, allocations: 0 / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1429, allocations: 3.938 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.1434, allocations: 386.5 kB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1434, allocations: 0 / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.1435, allocations: 19.98 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1435, allocations: 0 / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1435, allocations: 7.938 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1435, allocations: 3.984 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1435, allocations: 0 / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1438, allocations: 215.3 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1439, allocations: 81.02 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1439, allocations: 7.938 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.144, allocations: 7.984 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.144, allocations: 8 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.144, allocations: 3.984 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.342e-05/0.1441, allocations: 103.3 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1441, allocations: 4 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1443, allocations: 24 kB / 475.8 MB, free: 7.422 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.001007/0.1453, allocations: 440.8 kB / 476.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.1456, allocations: 83.86 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1457, allocations: 0 / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1458, allocations: 43.97 kB / 476.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1462, allocations: 15.98 kB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.1467, allocations: 190 kB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1469, allocations: 0.6924 MB / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.859e-05/0.147, allocations: 20.23 kB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.1471, allocations: 19.38 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1471, allocations: 0 / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.004307/0.1514, allocations: 1.498 MB / 478.8 MB, free: 4.555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches