Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001475, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001612/0.001612, allocations: 194 kB / 18.12 MB, free: 5.363 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.442/1.442, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.17 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 62.11 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1377, allocations: 60.83 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003646/0.1414, allocations: 1.676 MB / 470.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1425, allocations: 427.2 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.1426, allocations: 3.938 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008051/0.1434, allocations: 455.2 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.1439, allocations: 235.6 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.1444, allocations: 119.7 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1447, allocations: 159.7 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1449, allocations: 12.17 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1451, allocations: 111.7 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.1454, allocations: 203.6 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.1454, allocations: 4 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1456, allocations: 31.98 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.1457, allocations: 83.62 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1458, allocations: 103 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1462, allocations: 239 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1462, allocations: 0 / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1462, allocations: 0 / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1462, allocations: 0 / 472.3 MB, free: 11.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008337/0.1471, allocations: 0.6418 MB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1471, allocations: 8.031 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.1472, allocations: 40.38 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1475, allocations: 304.1 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1475, allocations: 384 / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1475, allocations: 4.375 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1477, allocations: 57.61 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1477, allocations: 4 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1477, allocations: 0 / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1478, allocations: 4 kB / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1479, allocations: 31.97 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.1484, allocations: 392.6 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1485, allocations: 46.55 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.1486, allocations: 24.94 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1486, allocations: 0 / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1486, allocations: 34.56 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1486, allocations: 0 / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008446/0.1495, allocations: 287.8 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1496, allocations: 51.41 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.1504, allocations: 0.8534 MB / 475.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1505, allocations: 25.7 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1507, allocations: 212 kB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.1507, allocations: 27.64 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.1508, allocations: 21.72 kB / 475.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.151, allocations: 362.7 kB / 475.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1511, allocations: 35.97 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.1512, allocations: 32 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1515, allocations: 85 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1515, allocations: 0 / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002934/0.1518, allocations: 141.1 kB / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1518, allocations: 4 kB / 476 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1518, allocations: 288 / 476 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1518, allocations: 4 kB / 476 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1519, allocations: 19.92 kB / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.152, allocations: 4 kB / 476 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.152, allocations: 23.92 kB / 476.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1521, allocations: 0 / 476.1 MB, free: 7.062 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 (7): * Single equations (assignments): 7 * 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.0001872/0.1522, allocations: 206.3 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.1523, allocations: 43.52 kB / 476.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.1527, allocations: 169.4 kB / 476.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1527, allocations: 0 / 476.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1527, allocations: 0 / 476.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1527, allocations: 3.938 kB / 476.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.1533, allocations: 494.4 kB / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1534, allocations: 0 / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.1534, allocations: 15.98 kB / 477 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1535, allocations: 11.94 kB / 477 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1535, allocations: 3.938 kB / 477 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1535, allocations: 0 / 477 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1535, allocations: 3.984 kB / 477 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1538, allocations: 246.9 kB / 477.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.1539, allocations: 112.5 kB / 477.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1539, allocations: 7.938 kB / 477.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.154, allocations: 7.984 kB / 477.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1541, allocations: 7.984 kB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.1541, allocations: 0 / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005673/0.1546, allocations: 0.6472 MB / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1546, allocations: 0 / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1549, allocations: 24 kB / 478 MB, free: 4.977 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 (7): * Single equations (assignments): 7 * 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.0009055/0.1558, allocations: 401.2 kB / 478.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.1561, allocations: 79.86 kB / 478.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1561, allocations: 0 / 478.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1562, allocations: 43.97 kB / 478.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1566, allocations: 25.78 kB / 478.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1578, allocations: 0.8831 MB / 479.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1582, allocations: 0.8297 MB / 480.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.1583, allocations: 11.95 kB / 480.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.1583, allocations: 15.44 kB / 480.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1583, allocations: 0 / 480.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of Templates: time 0.004705/0.163, allocations: 1.47 MB / 481.8 MB, free: 1.336 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches