Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001559, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 101.4 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5224/0.5224, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007789/0.0007792, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1346, allocations: 58.83 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002603/0.1373, allocations: 1.301 MB / 491.5 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.1383, allocations: 303.8 kB / 491.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.1384, allocations: 0 / 491.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.1393, allocations: 435.2 kB / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005193/0.1398, allocations: 247.5 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.1406, allocations: 131.8 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.141, allocations: 127.7 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1411, allocations: 27.81 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.1413, allocations: 99.8 kB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.1417, allocations: 147.7 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1417, allocations: 4 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1419, allocations: 23.92 kB / 493 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.142, allocations: 83.73 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.604e-05/0.1421, allocations: 65.52 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.1427, allocations: 196 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1427, allocations: 0 / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1427, allocations: 0 / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1428, allocations: 0 / 493.4 MB, free: 8.059 MB / 378.7 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.001159/0.1439, allocations: 0.6065 MB / 494 MB, free: 7.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.144, allocations: 16.02 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.1441, allocations: 43.39 kB / 494 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1445, allocations: 275.4 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1446, allocations: 4 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.1446, allocations: 8 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1449, allocations: 65.61 kB / 494.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1449, allocations: 0 / 494.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.145, allocations: 4 kB / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.145, allocations: 0 / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.1453, allocations: 51.91 kB / 494.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.1461, allocations: 408.7 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1464, allocations: 58.48 kB / 494.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1464, allocations: 0 / 494.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1465, allocations: 34.56 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.1465, allocations: 0 / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001485/0.148, allocations: 343.9 kB / 495.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.1481, allocations: 51.41 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.1495, allocations: 0.8613 MB / 496.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1496, allocations: 29.7 kB / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.1499, allocations: 234.5 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.1499, allocations: 27.64 kB / 496.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.1499, allocations: 0 / 496.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1501, allocations: 310.8 kB / 496.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.1504, allocations: 47.97 kB / 496.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1506, allocations: 52.03 kB / 496.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.1509, allocations: 52.19 kB / 496.9 MB, free: 4.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1509, allocations: 0 / 496.9 MB, free: 4.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005648/0.1515, allocations: 141.6 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1515, allocations: 11.89 kB / 497.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1515, allocations: 0 / 497.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.1516, allocations: 3.984 kB / 497.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.1518, allocations: 23.98 kB / 497.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.1518, allocations: 3.938 kB / 497.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.152, allocations: 19.98 kB / 497.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.152, allocations: 0 / 497.1 MB, free: 4.102 MB / 378.7 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 0.0003586/0.1524, allocations: 209.8 kB / 497.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.1525, allocations: 43.44 kB / 497.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.1533, allocations: 205.3 kB / 497.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1533, allocations: 0 / 497.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.1533, allocations: 0 / 497.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1534, allocations: 4 kB / 497.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.1546, allocations: 0.5141 MB / 498.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.1546, allocations: 3.984 kB / 498.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.1548, allocations: 31.88 kB / 498.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.1548, allocations: 8 kB / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1549, allocations: 0 / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1549, allocations: 0 / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1549, allocations: 0 / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.1556, allocations: 266.9 kB / 498.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1558, allocations: 112.8 kB / 498.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.1558, allocations: 3.953 kB / 498.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.156, allocations: 23.98 kB / 498.5 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.1561, allocations: 11.97 kB / 498.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1561, allocations: 4 kB / 498.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.1572, allocations: 0.6511 MB / 499.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.1573, allocations: 0 / 499.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.1577, allocations: 28 kB / 499.2 MB, free: 1.891 MB / 378.7 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.001265/0.159, allocations: 408.2 kB / 499.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006167/0.1596, allocations: 107.9 kB / 499.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1597, allocations: 0 / 499.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.1599, allocations: 59.91 kB / 499.8 MB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1604, allocations: 26.2 kB / 499.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1623, allocations: 0.8903 MB / 0.4889 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3117/0.474, allocations: 0.83 MB / 0.4898 GB, free: 42.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.4741, allocations: 15.2 kB / 0.4898 GB, free: 42.87 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4742, allocations: 1.406 kB / 0.4898 GB, free: 42.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01205/0.4862, allocations: 3.847 MB / 0.4935 GB, free: 42.27 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches