Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001185/0.001185, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.342/1.342, allocations: 222.9 MB / 243 MB, free: 15.08 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.211/0.211, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 62.38 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003307/0.1163, allocations: 1.96 MB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.118, allocations: 1.131 MB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.407e-05/0.1181, allocations: 8 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1184, allocations: 47.59 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.1188, allocations: 151.3 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1199, allocations: 0.5778 MB / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.1202, allocations: 291.1 kB / 474.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1204, allocations: 72.64 kB / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1206, allocations: 123.4 kB / 475.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1208, allocations: 183.3 kB / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.1209, allocations: 12 kB / 475.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.121, allocations: 55.98 kB / 475.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1212, allocations: 151.5 kB / 475.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1213, allocations: 146.8 kB / 475.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.1217, allocations: 374.5 kB / 476 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1217, allocations: 0 / 476 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1217, allocations: 4 kB / 476 MB, free: 8.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1217, allocations: 0 / 476 MB, free: 8.402 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000924/0.1227, allocations: 0.7463 MB / 476.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1227, allocations: 8.031 kB / 476.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.1228, allocations: 52.28 kB / 476.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.1234, allocations: 443.9 kB / 477.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1234, allocations: 8.375 kB / 477.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1234, allocations: 24.11 kB / 477.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.1237, allocations: 137 kB / 477.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1238, allocations: 3.984 kB / 477.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1238, allocations: 8 kB / 477.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1238, allocations: 0 / 477.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.124, allocations: 99.86 kB / 477.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.125, allocations: 0.6759 MB / 478.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1252, allocations: 117.2 kB / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.1253, allocations: 49.81 kB / 478.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1253, allocations: 4 kB / 478.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1254, allocations: 38.5 kB / 478.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1254, allocations: 0 / 478.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00135/0.1267, allocations: 0.5295 MB / 478.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.1268, allocations: 81.11 kB / 479 MB, free: 5.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008433/0.1276, allocations: 0.8583 MB / 479.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1277, allocations: 25.7 kB / 479.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1278, allocations: 252.2 kB / 480.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.1279, allocations: 43.27 kB / 480.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.1279, allocations: 33.7 kB / 480.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1281, allocations: 374.7 kB / 480.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1282, allocations: 63.95 kB / 480.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1284, allocations: 83.62 kB / 480.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1288, allocations: 169.6 kB / 480.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1288, allocations: 0.75 kB / 480.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004384/0.1292, allocations: 236.9 kB / 481.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1292, allocations: 7.281 kB / 481.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1293, allocations: 4 kB / 481.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1293, allocations: 0 / 481.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.1295, allocations: 43.91 kB / 481.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1295, allocations: 0 / 481.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1296, allocations: 19.92 kB / 481.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1297, allocations: 8 kB / 481.2 MB, free: 2.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001859/0.1298, allocations: 213.7 kB / 481.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.1299, allocations: 51.34 kB / 481.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.1305, allocations: 290.1 kB / 481.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1305, allocations: 4.219 kB / 481.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1305, allocations: 0 / 481.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1305, allocations: 3.938 kB / 481.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1317, allocations: 0.7942 MB / 482.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1317, allocations: 0 / 482.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.1318, allocations: 39.91 kB / 482.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1319, allocations: 0 / 482.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1319, allocations: 4 kB / 482.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1319, allocations: 3.938 kB / 482.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1319, allocations: 0 / 482.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.1324, allocations: 414 kB / 483 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1326, allocations: 136.4 kB / 483.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.1326, allocations: 7.984 kB / 483.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.1328, allocations: 11.94 kB / 483.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.1329, allocations: 23.95 kB / 483.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1329, allocations: 4 kB / 483.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005967/0.1335, allocations: 0.6276 MB / 483.8 MB, free: 228 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1335, allocations: 3.938 kB / 483.8 MB, free: 224 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.1339, allocations: 52 kB / 483.8 MB, free: 172 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0008774/0.1348, allocations: 405.8 kB / 484.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.1352, allocations: 167.8 kB / 484.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1352, allocations: 0 / 484.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.1354, allocations: 91.88 kB / 484.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.136, allocations: 70.55 kB / 484.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1372, allocations: 0.892 MB / 485.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.1377, allocations: 0.8682 MB / 486.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.1378, allocations: 86.92 kB / 486.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.1379, allocations: 39.42 kB / 486.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.034e-06/0.1379, allocations: 0 / 486.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Templates: time 0.007908/0.1459, allocations: 3.988 MB / 490.4 MB, free: 9.695 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches