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.0009005/0.0009008, allocations: 99.56 kB / 17 MB, free: 6.535 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.001034/0.001034, allocations: 186.2 kB / 17.89 MB, free: 5.945 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.466/1.466, allocations: 223.2 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.26 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002217/0.136, allocations: 1.318 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1376, allocations: 0.957 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.1377, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.138, allocations: 27.91 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.1382, allocations: 31.84 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1387, allocations: 114.8 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1388, allocations: 51.84 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1389, allocations: 12.17 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.139, allocations: 19.86 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1392, allocations: 19.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1392, allocations: 4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1393, allocations: 47.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.1394, allocations: 11.98 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.1394, allocations: 33.64 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1395, allocations: 83.81 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1396, allocations: 3.938 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1396, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1396, allocations: 0 / 474.3 MB, free: 10.93 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.0005462/0.1401, allocations: 375.4 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1402, allocations: 8.562 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.1402, allocations: 4 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1404, allocations: 190.9 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1405, allocations: 4 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1405, allocations: 4 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1407, allocations: 79.28 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1407, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1407, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1407, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1409, allocations: 47.97 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1413, allocations: 292.7 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1415, allocations: 54.5 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.1416, allocations: 24.94 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1416, allocations: 0 / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.1416, allocations: 34.56 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1416, allocations: 4 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007725/0.1424, allocations: 233.2 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1425, allocations: 77.11 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1426, allocations: 144.8 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1427, allocations: 25.7 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.1427, allocations: 92.05 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1428, allocations: 23.64 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1428, allocations: 0 / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1429, allocations: 322.8 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.143, allocations: 43.97 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1431, allocations: 57.62 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1433, allocations: 48 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1433, allocations: 0 / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002653/0.1436, allocations: 129.6 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1436, allocations: 4 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1436, allocations: 0 / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1436, allocations: 0 / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1437, allocations: 27.98 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1437, allocations: 0 / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.1438, allocations: 23.98 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1438, allocations: 0 / 476.6 MB, free: 8.375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/0.1439, allocations: 121.7 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.144, allocations: 7.906 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.1443, allocations: 142.2 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1443, allocations: 0 / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1443, allocations: 3.984 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1443, allocations: 288 / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.1448, allocations: 414.5 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1448, allocations: 0 / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.1449, allocations: 19.98 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1449, allocations: 7.984 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.145, allocations: 7.938 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.145, allocations: 0 / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.145, allocations: 0 / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1453, allocations: 227.3 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.1453, allocations: 89 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1454, allocations: 4 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.1455, allocations: 11.98 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.1455, allocations: 8 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1455, allocations: 4 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.1456, allocations: 103.2 kB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1456, allocations: 0 / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1459, allocations: 24 kB / 477.8 MB, free: 7.098 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 (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.001022/0.1469, allocations: 444.2 kB / 478.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.1472, allocations: 99.81 kB / 478.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1472, allocations: 0 / 478.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1473, allocations: 47.97 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1476, allocations: 22.28 kB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.1481, allocations: 197.2 kB / 478.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1484, allocations: 0.6926 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.061e-05/0.1484, allocations: 24.23 kB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.1485, allocations: 19.36 kB / 479.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1485, allocations: 0 / 479.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004028/0.1525, allocations: 1.375 MB / 480.7 MB, free: 4.316 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/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