Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001395, allocations: 179.8 kB / 16.41 MB, free: 5.707 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.794/1.794, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008246/0.0008245, allocations: 90.58 kB / 270.9 MB, free: 8.352 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.4764/0.4764, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004531, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.002253/0.1288, allocations: 1.512 MB / 491.7 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1299, allocations: 0.6007 MB / 492.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.13, allocations: 0 / 492.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.1305, allocations: 235.5 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1308, allocations: 167.5 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008914/0.1317, allocations: 403.2 kB / 493.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.132, allocations: 219.4 kB / 493.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1321, allocations: 36.23 kB / 493.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1322, allocations: 103.6 kB / 493.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1324, allocations: 151.4 kB / 493.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1325, allocations: 0 / 493.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1326, allocations: 43.92 kB / 493.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1327, allocations: 79.73 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.1327, allocations: 61.52 kB / 493.8 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.133, allocations: 183.9 kB / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.133, allocations: 4 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.133, allocations: 4 kB / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.133, allocations: 0 / 494 MB, free: 7.195 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006319/0.1336, allocations: 0.5485 MB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1337, allocations: 12.03 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.1338, allocations: 31.58 kB / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1341, allocations: 277.4 kB / 494.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1341, allocations: 4 kB / 494.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1341, allocations: 8 kB / 494.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1343, allocations: 85.41 kB / 495 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1343, allocations: 0 / 495 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1343, allocations: 0 / 495 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.1343, allocations: 11.94 kB / 495 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1345, allocations: 55.92 kB / 495 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.1351, allocations: 424.5 kB / 495.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1352, allocations: 62.52 kB / 495.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.1353, allocations: 28.97 kB / 495.5 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1353, allocations: 7.984 kB / 495.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1353, allocations: 34.56 kB / 495.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1354, allocations: 0 / 495.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003165/0.1357, allocations: 133.1 kB / 495.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1357, allocations: 51.41 kB / 495.8 MB, free: 5.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.1362, allocations: 0.5133 MB / 496.3 MB, free: 4.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1363, allocations: 29.7 kB / 496.3 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1364, allocations: 192.3 kB / 496.5 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1364, allocations: 19.64 kB / 496.5 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.1364, allocations: 4 kB / 496.5 MB, free: 4.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1366, allocations: 346.8 kB / 496.8 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.1367, allocations: 19.98 kB / 496.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.1367, allocations: 19.98 kB / 496.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.1368, allocations: 24 kB / 496.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1368, allocations: 0 / 496.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001891/0.137, allocations: 121.2 kB / 497 MB, free: 3.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.137, allocations: 4 kB / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.137, allocations: 0 / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.137, allocations: 0 / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.1371, allocations: 15.98 kB / 497 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1371, allocations: 4 kB / 497 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.1372, allocations: 4 kB / 497.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1372, allocations: 0 / 497.1 MB, free: 3.926 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 (6): * Single equations (assignments): 6 * 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.0001727/0.1374, allocations: 165.8 kB / 497.2 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.1374, allocations: 39.48 kB / 497.3 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1377, allocations: 140.7 kB / 497.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.1377, allocations: 3.984 kB / 497.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1377, allocations: 0.5 kB / 497.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1377, allocations: 0 / 497.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.138, allocations: 277.4 kB / 497.7 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.138, allocations: 7.938 kB / 497.7 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1381, allocations: 15.98 kB / 497.7 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1381, allocations: 3.953 kB / 497.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1381, allocations: 0 / 497.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1381, allocations: 0 / 497.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1381, allocations: 0 / 497.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1384, allocations: 211.1 kB / 497.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.1385, allocations: 108.7 kB / 498 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1385, allocations: 7.953 kB / 498 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1386, allocations: 7.984 kB / 498 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.1386, allocations: 4 kB / 498 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.1386, allocations: 4 kB / 498 MB, free: 2.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003596/0.139, allocations: 391.1 kB / 498.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.139, allocations: 0 / 498.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.1392, allocations: 31.91 kB / 498.4 MB, free: 2.434 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 (6): * Single equations (assignments): 6 * 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.001179/0.1404, allocations: 0.5831 MB / 499 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1406, allocations: 55.92 kB / 499.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1406, allocations: 0 / 499.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.1407, allocations: 23.98 kB / 499.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1412, allocations: 73.41 kB / 499.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.142, allocations: 0.6082 MB / 499.8 MB, free: 1.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1424, allocations: 0.779 MB / 0.4888 GB, free: 312 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.1425, allocations: 19.44 kB / 0.4888 GB, free: 292 kB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1425, allocations: 0 / 0.4888 GB, free: 292 kB / 378.7 MB Notification: Performance of Templates: time 0.1992/0.3417, allocations: 3.48 MB / 0.4922 GB, free: 42.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches