Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002296/0.002301, allocations: 189 kB / 16.4 MB, free: 5.621 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.25/2.25, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001206/0.001205, allocations: 94.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3024/0.3024, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006317/0.0006318, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.002426/0.1302, allocations: 1.252 MB / 491.5 MB, free: 8.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1321, allocations: 0.8752 MB / 492.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.1322, allocations: 0 / 492.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1325, allocations: 19.91 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.1327, allocations: 31.84 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.1331, allocations: 80.52 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1333, allocations: 35.91 kB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1334, allocations: 11.98 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.1335, allocations: 19.92 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1336, allocations: 19.92 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1337, allocations: 3.938 kB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1338, allocations: 31.92 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.1339, allocations: 15.97 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.1339, allocations: 33.64 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1341, allocations: 63.91 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1341, allocations: 0 / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.538e-06/0.1341, allocations: 3.938 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1342, allocations: 7.938 kB / 492.7 MB, free: 6.809 MB / 330.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.0005861/0.1348, allocations: 363.5 kB / 493.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1348, allocations: 16.02 kB / 493.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.1349, allocations: 11.86 kB / 493.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1351, allocations: 182.9 kB / 493.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1352, allocations: 4 kB / 493.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1352, allocations: 0 / 493.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1354, allocations: 75.33 kB / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.1355, allocations: 0 / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1355, allocations: 0 / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1355, allocations: 0 / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1357, allocations: 27.98 kB / 493.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.1362, allocations: 280.9 kB / 493.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1365, allocations: 50.48 kB / 493.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1365, allocations: 4 kB / 493.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1366, allocations: 34.56 kB / 493.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/0.1366, allocations: 0 / 493.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008725/0.1375, allocations: 161.4 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.1376, allocations: 85.11 kB / 494 MB, free: 5.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1378, allocations: 133.7 kB / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1378, allocations: 29.7 kB / 494.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1379, allocations: 162.5 kB / 494.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.138, allocations: 11.75 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.138, allocations: 0 / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1382, allocations: 318.8 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1383, allocations: 27.97 kB / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1385, allocations: 37.7 kB / 494.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1386, allocations: 23.98 kB / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1386, allocations: 0 / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003522/0.139, allocations: 97.62 kB / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.139, allocations: 6.656 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1391, allocations: 256 / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1391, allocations: 0 / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1392, allocations: 19.95 kB / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1392, allocations: 0 / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.1393, allocations: 15.98 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1394, allocations: 0 / 494.9 MB, free: 4.445 MB / 330.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.0001374/0.1395, allocations: 113.8 kB / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1396, allocations: 7.906 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.14, allocations: 109.5 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.14, allocations: 0 / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.14, allocations: 7.891 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.14, allocations: 288 / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.1407, allocations: 358.6 kB / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1407, allocations: 0 / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1409, allocations: 23.92 kB / 495.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1409, allocations: 0 / 495.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1409, allocations: 7.938 kB / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1409, allocations: 0 / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1409, allocations: 4 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.1413, allocations: 187.4 kB / 495.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.1414, allocations: 89.02 kB / 495.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1415, allocations: 0 / 495.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1416, allocations: 12.12 kB / 495.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1416, allocations: 4 kB / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1417, allocations: 4 kB / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1418, allocations: 107.8 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1418, allocations: 7.938 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.1422, allocations: 20 kB / 495.9 MB, free: 3.297 MB / 330.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.001414/0.1436, allocations: 446.2 kB / 496.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.144, allocations: 63.95 kB / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.144, allocations: 0 / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.1442, allocations: 27.98 kB / 496.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1446, allocations: 19.92 kB / 496.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.1452, allocations: 206.5 kB / 496.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1455, allocations: 0.6887 MB / 497.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/0.1456, allocations: 15.42 kB / 497.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1457, allocations: 4 kB / 497.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of Templates: time 0.004954/0.1506, allocations: 1.61 MB / 499 MB, free: 228 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches