Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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.CombiTable1D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.001656, allocations: 181.4 kB / 16.4 MB, free: 5.746 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.324/2.324, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001177/0.001177, allocations: 96.42 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.5154/0.5154, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 58.86 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.002499/0.1334, allocations: 1.255 MB / 491.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.1342, allocations: 279.9 kB / 491.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.1343, allocations: 0 / 491.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.1347, allocations: 107.6 kB / 491.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.135, allocations: 71.84 kB / 491.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1354, allocations: 83.77 kB / 492 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1356, allocations: 47.94 kB / 492 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1357, allocations: 11.98 kB / 492.1 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.1358, allocations: 35.83 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1359, allocations: 51.88 kB / 492.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1359, allocations: 0 / 492.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.136, allocations: 16 kB / 492.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.1361, allocations: 19.92 kB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.1362, allocations: 45.62 kB / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1364, allocations: 71.83 kB / 492.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1364, allocations: 0 / 492.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1364, allocations: 0 / 492.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1364, allocations: 0 / 492.3 MB, free: 9.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005996/0.137, allocations: 403.1 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.1371, allocations: 12.02 kB / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1371, allocations: 19.77 kB / 492.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1374, allocations: 194.8 kB / 492.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1374, allocations: 4 kB / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1375, allocations: 0 / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1377, allocations: 45.69 kB / 493 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1377, allocations: 3.984 kB / 493 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1377, allocations: 4 kB / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1377, allocations: 4 kB / 493 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.1379, allocations: 27.94 kB / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.1385, allocations: 292.9 kB / 493.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1388, allocations: 50.56 kB / 493.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1388, allocations: 3.984 kB / 493.3 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1388, allocations: 30.56 kB / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.1388, allocations: 0 / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008826/0.1397, allocations: 185.1 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.1398, allocations: 51.41 kB / 493.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.1402, allocations: 238.6 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1402, allocations: 33.7 kB / 493.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.1403, allocations: 162.6 kB / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1404, allocations: 19.75 kB / 494 MB, free: 7.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.1404, allocations: 0 / 494 MB, free: 7.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1405, allocations: 314.8 kB / 494.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1407, allocations: 27.97 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1408, allocations: 27.92 kB / 494.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.141, allocations: 27.98 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.141, allocations: 3.938 kB / 494.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003394/0.1413, allocations: 93.77 kB / 494.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1414, allocations: 4 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1414, allocations: 3.953 kB / 494.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1414, allocations: 7.984 kB / 494.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1415, allocations: 12 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1415, allocations: 0 / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.1416, allocations: 7.984 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1417, allocations: 4 kB / 494.6 MB, free: 6.637 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 (5): * Single equations (assignments): 5 * 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.0001491/0.1418, allocations: 134.8 kB / 494.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.1419, allocations: 7.906 kB / 494.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.1423, allocations: 110.7 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1423, allocations: 3.953 kB / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1423, allocations: 3.984 kB / 494.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1423, allocations: 0 / 494.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.1431, allocations: 378.4 kB / 495.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1431, allocations: 0 / 495.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1432, allocations: 15.98 kB / 495.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.1433, allocations: 4.234 kB / 495.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1433, allocations: 0 / 495.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1433, allocations: 0 / 495.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1433, allocations: 4 kB / 495.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.1437, allocations: 195.6 kB / 495.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.1438, allocations: 88.92 kB / 495.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1438, allocations: 8.016 kB / 495.5 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.144, allocations: 15.92 kB / 495.5 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.144, allocations: 7.938 kB / 495.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.144, allocations: 0 / 495.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.1443, allocations: 187.2 kB / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1443, allocations: 0 / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000329/0.1446, allocations: 16 kB / 495.7 MB, free: 5.363 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 (5): * Single equations (assignments): 5 * 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.001148/0.1458, allocations: 404 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.1462, allocations: 55.95 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1462, allocations: 0 / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1463, allocations: 32.05 kB / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1467, allocations: 20.17 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.1474, allocations: 307.2 kB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1478, allocations: 0.716 MB / 497.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.1479, allocations: 11.44 kB / 497.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1479, allocations: 0 / 497.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of Templates: time 0.004844/0.1527, allocations: 1.575 MB / 498.8 MB, free: 2.25 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches