Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, 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.001273/0.001273, 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.363/1.363, allocations: 222.9 MB / 243 MB, free: 15.09 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.195/0.195, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.22 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003685/0.1188, allocations: 1.96 MB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1205, allocations: 0.9703 MB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1206, allocations: 7.938 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.1211, allocations: 255.2 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.1215, allocations: 195.3 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.123, allocations: 0.6452 MB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.1234, allocations: 307.2 kB / 475 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1237, allocations: 84.53 kB / 475.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1239, allocations: 131.5 kB / 475.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1242, allocations: 203.3 kB / 475.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.1242, allocations: 12 kB / 475.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1243, allocations: 63.98 kB / 475.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1245, allocations: 103.6 kB / 475.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1246, allocations: 111.1 kB / 475.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.125, allocations: 298.9 kB / 476 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.125, allocations: 0 / 476 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.125, allocations: 0 / 476 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.125, allocations: 4 kB / 476 MB, free: 8.32 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008062/0.1258, allocations: 0.6262 MB / 476.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1259, allocations: 12.03 kB / 476.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.126, allocations: 36.47 kB / 476.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.1263, allocations: 310.3 kB / 477 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1264, allocations: 12.31 kB / 477 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.1264, allocations: 16.36 kB / 477 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.1267, allocations: 121.8 kB / 477.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1267, allocations: 0 / 477.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1267, allocations: 4 kB / 477.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1267, allocations: 0 / 477.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1269, allocations: 103.8 kB / 477.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.1276, allocations: 0.4962 MB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1278, allocations: 106.5 kB / 477.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.1279, allocations: 36.84 kB / 477.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1279, allocations: 8 kB / 477.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.128, allocations: 38.5 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.128, allocations: 0 / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009862/0.129, allocations: 432.4 kB / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.129, allocations: 51.41 kB / 478.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.1296, allocations: 0.5249 MB / 478.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1296, allocations: 37.7 kB / 479 MB, free: 5.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1297, allocations: 196.3 kB / 479.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.1298, allocations: 55.11 kB / 479.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.1299, allocations: 37.7 kB / 479.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.13, allocations: 350.8 kB / 479.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1301, allocations: 59.95 kB / 479.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1303, allocations: 71.95 kB / 479.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1306, allocations: 156.8 kB / 479.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1306, allocations: 3.938 kB / 479.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000368/0.131, allocations: 231.2 kB / 480.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.131, allocations: 4 kB / 480.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.131, allocations: 4 kB / 480.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.131, allocations: 0 / 480.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1312, allocations: 27.98 kB / 480.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1312, allocations: 4 kB / 480.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.1312, allocations: 11.98 kB / 480.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1313, allocations: 8 kB / 480.2 MB, free: 3.953 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 (17): * Single equations (assignments): 17 * 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.0001578/0.1314, allocations: 181.7 kB / 480.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.1315, allocations: 35.53 kB / 480.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.132, allocations: 269.3 kB / 480.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.132, allocations: 4 kB / 480.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.132, allocations: 4 kB / 480.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.132, allocations: 7.984 kB / 480.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.1329, allocations: 0.6645 MB / 481.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1329, allocations: 3.938 kB / 481.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.133, allocations: 31.98 kB / 481.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.133, allocations: 0 / 481.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.133, allocations: 4 kB / 481.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.133, allocations: 0 / 481.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1331, allocations: 11.88 kB / 481.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.1335, allocations: 322.9 kB / 481.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.1336, allocations: 112.6 kB / 481.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1336, allocations: 8 kB / 481.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.1337, allocations: 0 / 481.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.1338, allocations: 19.92 kB / 481.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1338, allocations: 8 kB / 481.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003924/0.1342, allocations: 395.1 kB / 482.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1342, allocations: 0 / 482.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.1345, allocations: 51.98 kB / 482.3 MB, free: 1.738 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 (17): * Single equations (assignments): 17 * 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.001631/0.1362, allocations: 0.6911 MB / 482.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.1365, allocations: 170.4 kB / 483.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1365, allocations: 0 / 483.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1367, allocations: 91.89 kB / 483.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.1373, allocations: 83.28 kB / 483.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1385, allocations: 0.6785 MB / 484 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.1389, allocations: 0.8182 MB / 484.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1391, allocations: 53.89 kB / 484.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.1392, allocations: 27.42 kB / 484.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1392, allocations: 0 / 484.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Templates: time 0.007132/0.1463, allocations: 3.266 MB / 488.1 MB, free: 12.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches