Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008586, allocations: 93.64 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 177.6 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.3 MB / 242.9 MB, free: 16 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1961/0.1961, allocations: 44.24 MB / 338.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1236, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002296/0.126, allocations: 1.287 MB / 474.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.1268, allocations: 399.3 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.1269, allocations: 0 / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.1276, allocations: 443.2 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.1281, allocations: 251.5 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1285, allocations: 107 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1288, allocations: 151.7 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1289, allocations: 15.97 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1292, allocations: 103.7 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1294, allocations: 195.6 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1295, allocations: 0 / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.1296, allocations: 20 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1297, allocations: 87.61 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1298, allocations: 124.7 kB / 476.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.1301, allocations: 163.8 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1301, allocations: 0 / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1301, allocations: 4 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1301, allocations: 0 / 476.2 MB, free: 9.996 MB / 350.1 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.0008718/0.131, allocations: 0.5797 MB / 476.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1311, allocations: 12.03 kB / 476.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.1312, allocations: 40.47 kB / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.1316, allocations: 288.2 kB / 477.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1316, allocations: 384 / 477.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1316, allocations: 8.359 kB / 477.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1318, allocations: 61.75 kB / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1318, allocations: 0 / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1318, allocations: 0 / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1318, allocations: 0 / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.1319, allocations: 23.98 kB / 477.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.1325, allocations: 376.7 kB / 477.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.403e-05/0.1326, allocations: 38.5 kB / 477.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.1327, allocations: 12.92 kB / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1327, allocations: 0 / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1327, allocations: 30.56 kB / 477.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.1328, allocations: 4 kB / 477.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002803/0.1331, allocations: 105.2 kB / 477.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1331, allocations: 51.41 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009584/0.1341, allocations: 0.8535 MB / 478.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1341, allocations: 33.64 kB / 478.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1343, allocations: 224 kB / 478.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.1343, allocations: 8.031 kB / 478.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.1343, allocations: 9.719 kB / 478.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1345, allocations: 362.7 kB / 479.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.1346, allocations: 11.98 kB / 479.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.1346, allocations: 8 kB / 479.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.1347, allocations: 32.91 kB / 479.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1347, allocations: 0 / 479.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001552/0.1349, allocations: 93.12 kB / 479.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1349, allocations: 7.984 kB / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1349, allocations: 0 / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1349, allocations: 0 / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.135, allocations: 7.938 kB / 479.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.135, allocations: 4.031 kB / 479.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.1351, allocations: 4 kB / 479.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1351, allocations: 0 / 479.5 MB, free: 6.516 MB / 350.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.1353, allocations: 217.7 kB / 479.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1354, allocations: 39.53 kB / 479.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1356, allocations: 108.6 kB / 479.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1356, allocations: 0 / 479.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1356, allocations: 0 / 479.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1356, allocations: 0 / 479.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.1359, allocations: 289.5 kB / 480.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1359, allocations: 0 / 480.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.136, allocations: 4 kB / 480.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.136, allocations: 0 / 480.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.136, allocations: 0 / 480.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.136, allocations: 3.938 kB / 480.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.136, allocations: 0 / 480.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1362, allocations: 194.9 kB / 480.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.1363, allocations: 108.6 kB / 480.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1363, allocations: 8 kB / 480.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.1364, allocations: 7.984 kB / 480.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1365, allocations: 0 / 480.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1365, allocations: 4.031 kB / 480.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007607/0.1372, allocations: 0.6511 MB / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1372, allocations: 0 / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1375, allocations: 19.94 kB / 481.1 MB, free: 4.777 MB / 350.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.1386, allocations: 360 kB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1387, allocations: 27.92 kB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1387, allocations: 0 / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.158e-05/0.1388, allocations: 11.98 kB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1392, allocations: 24.91 kB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1409, allocations: 0.8695 MB / 482.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.1416, allocations: 0.8106 MB / 483.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.1416, allocations: 15.44 kB / 483.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1416, allocations: 3.938 kB / 483.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Templates: time 0.008335/0.15, allocations: 3.337 MB / 486.6 MB, free: 15.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches