Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001809/0.001809, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, 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.000862/0.0008619, allocations: 92.66 kB / 270.9 MB, free: 8.355 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.4628/0.4628, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004001, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002426/0.1465, allocations: 1.321 MB / 491.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.1472, allocations: 311.8 kB / 491.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1473, allocations: 0 / 491.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.1479, allocations: 435.2 kB / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1483, allocations: 239.6 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.1486, allocations: 103.8 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1489, allocations: 127.7 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.149, allocations: 16.17 kB / 492.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1492, allocations: 107.7 kB / 492.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1494, allocations: 163.7 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.1494, allocations: 4 kB / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1495, allocations: 19.98 kB / 493 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1496, allocations: 79.75 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.1497, allocations: 69.45 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.15, allocations: 187.7 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.15, allocations: 4 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.15, allocations: 4 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.15, allocations: 0 / 493.4 MB, free: 8.051 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.0007826/0.1508, allocations: 0.5951 MB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1508, allocations: 16.02 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.1509, allocations: 39.48 kB / 494 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1512, allocations: 275.3 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1512, allocations: 8 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1513, allocations: 4 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1515, allocations: 61.61 kB / 494.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1515, allocations: 0 / 494.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1515, allocations: 4 kB / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1515, allocations: 0 / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1517, allocations: 47.92 kB / 494.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.1522, allocations: 376.8 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1523, allocations: 54.5 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.1524, allocations: 20.94 kB / 494.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1525, allocations: 0 / 494.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1525, allocations: 38.56 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1525, allocations: 0 / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009038/0.1534, allocations: 331.8 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1535, allocations: 51.41 kB / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.1544, allocations: 0.8535 MB / 496.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1544, allocations: 25.7 kB / 496.2 MB, free: 5.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1546, allocations: 216 kB / 496.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.1546, allocations: 27.64 kB / 496.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1546, allocations: 0 / 496.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1548, allocations: 358.8 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1549, allocations: 35.97 kB / 496.8 MB, free: 4.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1551, allocations: 51.91 kB / 496.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1552, allocations: 35.97 kB / 496.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1552, allocations: 4 kB / 496.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003167/0.1555, allocations: 161.1 kB / 497 MB, free: 4.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1556, allocations: 7.953 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1556, allocations: 0 / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1556, allocations: 4 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1557, allocations: 23.98 kB / 497.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1557, allocations: 0 / 497.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.1558, allocations: 19.89 kB / 497.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1558, allocations: 0 / 497.1 MB, free: 4.129 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.0001977/0.156, allocations: 213.8 kB / 497.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.1561, allocations: 39.53 kB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.1565, allocations: 193.6 kB / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1565, allocations: 0 / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1565, allocations: 0 / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1565, allocations: 3.984 kB / 497.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.1572, allocations: 0.5065 MB / 498 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1573, allocations: 7.953 kB / 498 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.1574, allocations: 19.98 kB / 498.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1574, allocations: 0 / 498.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1574, allocations: 4 kB / 498.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1574, allocations: 0 / 498.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1574, allocations: 4 kB / 498.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1578, allocations: 259.1 kB / 498.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.1579, allocations: 116.5 kB / 498.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.1579, allocations: 0 / 498.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.158, allocations: 15.98 kB / 498.4 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1581, allocations: 11.92 kB / 498.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1581, allocations: 0 / 498.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005906/0.1587, allocations: 0.6433 MB / 499.1 MB, free: 2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1587, allocations: 4 kB / 499.1 MB, free: 1.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.1589, allocations: 27.98 kB / 499.1 MB, free: 1.969 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.0008343/0.1598, allocations: 400.8 kB / 499.5 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.1601, allocations: 95.92 kB / 499.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1601, allocations: 0 / 499.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1602, allocations: 55.91 kB / 499.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1606, allocations: 25.95 kB / 499.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1617, allocations: 0.8627 MB / 0.4888 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1967/0.3584, allocations: 0.8168 MB / 0.4896 GB, free: 42.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.3586, allocations: 14.17 kB / 0.4896 GB, free: 42.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3586, allocations: 0 / 0.4896 GB, free: 42.89 MB / 378.7 MB Notification: Performance of Templates: time 0.007973/0.3666, allocations: 3.707 MB / 0.4933 GB, free: 42.28 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches