Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 96.78 kB / 17 MB, free: 6.418 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.001181/0.001181, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.465/1.465, allocations: 223.3 MB / 241.9 MB, free: 360 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.268/0.268, allocations: 44.26 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002154/0.1439, allocations: 1.321 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.1448, allocations: 0.6447 MB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.1449, allocations: 0 / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.1451, allocations: 19.92 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.1453, allocations: 31.91 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.1453, allocations: 0 / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1455, allocations: 43.88 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.1456, allocations: 7.938 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.1456, allocations: 8 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.1457, allocations: 19.91 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.1457, allocations: 0 / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.1458, allocations: 8 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1458, allocations: 19.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.1459, allocations: 33.64 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.146, allocations: 52.14 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.146, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.146, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.146, allocations: 4 kB / 473.8 MB, free: 11.46 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004508/0.1465, allocations: 359.2 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1465, allocations: 8.031 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.1466, allocations: 7.906 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.1467, allocations: 174.8 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1468, allocations: 11.98 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1468, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.147, allocations: 124.8 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.147, allocations: 3.938 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1471, allocations: 8 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.1471, allocations: 15.98 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.1472, allocations: 43.91 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008318/0.148, allocations: 0.8984 MB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1481, allocations: 173.1 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.1482, allocations: 80.14 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1482, allocations: 79.31 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.341e-05/0.1483, allocations: 113.8 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1483, allocations: 0 / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.169e-05/0.1484, allocations: 33.61 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.1485, allocations: 130.7 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1487, allocations: 186.1 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1488, allocations: 25.7 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.1489, allocations: 147.1 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.1489, allocations: 4 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.1489, allocations: 0 / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.149, allocations: 322.8 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.1491, allocations: 31.98 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1492, allocations: 153 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.1493, allocations: 75.91 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1493, allocations: 0 / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003153/0.1497, allocations: 193.3 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.1497, allocations: 8 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.1497, allocations: 7.984 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1497, allocations: 8 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1499, allocations: 35.92 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1499, allocations: 4 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.15, allocations: 28.22 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.15, allocations: 15.95 kB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001587/0.1502, allocations: 222.3 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.1503, allocations: 112.8 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.1503, allocations: 116.8 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001348/0.1505, allocations: 176.3 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/0.1506, allocations: 184.2 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.499e-05/0.1506, allocations: 180.3 kB / 478.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.1511, allocations: 433.1 kB / 478.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.831e-05/0.1511, allocations: 101 kB / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.1511, allocations: 105 kB / 478.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.1513, allocations: 180.2 kB / 479 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.1515, allocations: 188.2 kB / 479.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.699e-05/0.1516, allocations: 180.2 kB / 479.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.24e-05/0.1516, allocations: 184.3 kB / 479.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1518, allocations: 311.6 kB / 479.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.1519, allocations: 197.9 kB / 480.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.1521, allocations: 184.2 kB / 480.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.1521, allocations: 105 kB / 480.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.1522, allocations: 180.2 kB / 480.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.1523, allocations: 105 kB / 480.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1524, allocations: 131.2 kB / 480.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1524, allocations: 0 / 480.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.1527, allocations: 16 kB / 480.8 MB, free: 3.941 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 (0): * Single equations (assignments): 0 * 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.0005019/0.1532, allocations: 274 kB / 481 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1534, allocations: 72.84 kB / 481.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1534, allocations: 0 / 481.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1534, allocations: 192 / 481.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1538, allocations: 0.5341 MB / 481.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.1543, allocations: 278.8 kB / 481.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1546, allocations: 0.7009 MB / 482.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.1548, allocations: 48.97 kB / 482.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.1548, allocations: 19.42 kB / 482.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1548, allocations: 0 / 482.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Templates: time 0.00302/0.1578, allocations: 0.6385 MB / 483.3 MB, free: 1.383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches