Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001588, allocations: 188.1 kB / 16.4 MB, free: 5.625 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.13/2.13, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001774/0.001774, allocations: 86.86 kB / 270.9 MB, free: 13.3 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.3184/0.3184, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004932, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 58.85 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002982/0.1231, allocations: 1.61 MB / 491.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1247, allocations: 0.5538 MB / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.1248, allocations: 0 / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.1254, allocations: 231.4 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.1258, allocations: 167.6 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1274, allocations: 411.1 kB / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1278, allocations: 179.6 kB / 493.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.128, allocations: 52.7 kB / 493.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1282, allocations: 103.6 kB / 493.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.1285, allocations: 139.5 kB / 493.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.1285, allocations: 4 kB / 493.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1287, allocations: 43.92 kB / 493.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1289, allocations: 79.67 kB / 493.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.129, allocations: 69.52 kB / 493.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1293, allocations: 215.9 kB / 494 MB, free: 5.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1294, allocations: 3.938 kB / 494 MB, free: 5.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1294, allocations: 0 / 494 MB, free: 5.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1294, allocations: 0 / 494 MB, free: 5.48 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009745/0.1304, allocations: 0.5952 MB / 494.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1304, allocations: 8.031 kB / 494.6 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.1305, allocations: 43.48 kB / 494.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.131, allocations: 301.2 kB / 495 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.131, allocations: 12 kB / 495 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.1311, allocations: 15.94 kB / 495 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.1314, allocations: 105.6 kB / 495.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1315, allocations: 3.984 kB / 495.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1315, allocations: 8 kB / 495.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1315, allocations: 0 / 495.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.1318, allocations: 75.89 kB / 495.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.1327, allocations: 0.4924 MB / 495.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.133, allocations: 94.47 kB / 495.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.133, allocations: 8 kB / 495.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1331, allocations: 34.5 kB / 495.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.013e-06/0.1331, allocations: 0 / 495.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001406/0.1345, allocations: 391.9 kB / 496.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1346, allocations: 55.41 kB / 496.3 MB, free: 3.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.1355, allocations: 0.5525 MB / 496.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1355, allocations: 25.7 kB / 496.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.1357, allocations: 230.8 kB / 497.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.1358, allocations: 63.31 kB / 497.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.1358, allocations: 8 kB / 497.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.136, allocations: 322.7 kB / 497.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1362, allocations: 51.97 kB / 497.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.1364, allocations: 51.97 kB / 497.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.1366, allocations: 59.98 kB / 497.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1366, allocations: 0 / 497.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005236/0.1372, allocations: 173.4 kB / 497.8 MB, free: 1.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1372, allocations: 7.984 kB / 497.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1372, allocations: 8 kB / 497.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1372, allocations: 0 / 497.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.1375, allocations: 35.98 kB / 497.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1375, allocations: 0 / 497.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1377, allocations: 12 kB / 497.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1377, allocations: 7.984 kB / 497.9 MB, free: 1.465 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 (17): * Single equations (assignments): 17 * 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.0002427/0.138, allocations: 177.7 kB / 498 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.1381, allocations: 39.53 kB / 498.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.1388, allocations: 243.8 kB / 498.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1388, allocations: 4 kB / 498.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1388, allocations: 0 / 498.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1389, allocations: 3.984 kB / 498.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.1401, allocations: 0.6232 MB / 498.9 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1401, allocations: 3.938 kB / 498.9 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.1403, allocations: 39.92 kB / 499 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1404, allocations: 4 kB / 499 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1404, allocations: 4 kB / 499 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1404, allocations: 3.984 kB / 499 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1404, allocations: 3.953 kB / 499 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.141, allocations: 305.3 kB / 499.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1412, allocations: 124.6 kB / 499.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.1413, allocations: 4 kB / 499.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.1414, allocations: 12 kB / 499.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.1415, allocations: 11.94 kB / 499.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1415, allocations: 11.92 kB / 499.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006608/0.1422, allocations: 415 kB / 499.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1422, allocations: 0 / 499.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004222/0.1427, allocations: 48 kB / 499.9 MB, free: 15.31 MB / 346.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 (17): * Single equations (assignments): 17 * 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.002091/0.1448, allocations: 0.6997 MB / 0.4889 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000531/0.1453, allocations: 143.8 kB / 0.489 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1453, allocations: 4 kB / 0.489 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.1456, allocations: 75.91 kB / 0.4891 GB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.1462, allocations: 65.44 kB / 0.4891 GB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1478, allocations: 0.7377 MB / 0.4899 GB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.1483, allocations: 0.8145 MB / 0.4907 GB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.1484, allocations: 35.42 kB / 0.4907 GB, free: 12.73 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1484, allocations: 0 / 0.4907 GB, free: 12.73 MB / 346.7 MB Notification: Performance of Templates: time 0.01139/0.1598, allocations: 4.429 MB / 0.495 GB, free: 8.297 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches