Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.0009461/0.0009461, allocations: 192 kB / 18.56 MB, free: 4.434 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.333/1.333, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.1986/0.1986, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.28 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003441/0.1189, allocations: 1.964 MB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1205, allocations: 0.9667 MB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.1206, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.1211, allocations: 255.2 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1214, allocations: 199.3 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1227, allocations: 0.6444 MB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.1231, allocations: 303.2 kB / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1233, allocations: 88.53 kB / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1235, allocations: 123.6 kB / 473.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1237, allocations: 203.3 kB / 474 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.1238, allocations: 12 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.124, allocations: 91.95 kB / 474.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1241, allocations: 103.6 kB / 474.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1242, allocations: 107.1 kB / 474.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1246, allocations: 314.9 kB / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1246, allocations: 0 / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1246, allocations: 0 / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1246, allocations: 0 / 474.6 MB, free: 9.008 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.0007048/0.1253, allocations: 0.634 MB / 475.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1254, allocations: 12.03 kB / 475.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.1255, allocations: 36.47 kB / 475.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.1258, allocations: 318.2 kB / 475.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1258, allocations: 8.375 kB / 475.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1259, allocations: 4.375 kB / 475.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1261, allocations: 129.7 kB / 475.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1261, allocations: 3.984 kB / 475.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1262, allocations: 4 kB / 475.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1262, allocations: 8 kB / 475.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1264, allocations: 95.88 kB / 475.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.127, allocations: 0.4963 MB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1271, allocations: 114.5 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.1272, allocations: 36.83 kB / 476.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1273, allocations: 4 kB / 476.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1273, allocations: 38.56 kB / 476.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1273, allocations: 224 / 476.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009439/0.1282, allocations: 435.8 kB / 476.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1283, allocations: 55.39 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.1288, allocations: 0.5289 MB / 477.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1289, allocations: 25.7 kB / 477.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.129, allocations: 200.3 kB / 477.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.129, allocations: 59.11 kB / 477.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.1291, allocations: 33.7 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1292, allocations: 350.8 kB / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1294, allocations: 67.95 kB / 478.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1295, allocations: 63.97 kB / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1298, allocations: 160.7 kB / 478.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1298, allocations: 3.938 kB / 478.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003503/0.1302, allocations: 223 kB / 478.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1302, allocations: 8 kB / 478.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1302, allocations: 7.984 kB / 478.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1302, allocations: 0 / 478.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1304, allocations: 39.92 kB / 478.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1304, allocations: 0 / 478.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.1304, allocations: 4 kB / 478.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1305, allocations: 7.984 kB / 478.8 MB, free: 4.621 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.0001565/0.1306, allocations: 177.8 kB / 478.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.1307, allocations: 35.53 kB / 479 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.1312, allocations: 277.3 kB / 479.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1312, allocations: 4 kB / 479.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1312, allocations: 3.938 kB / 479.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1312, allocations: 0 / 479.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.132, allocations: 0.6645 MB / 479.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.132, allocations: 0 / 479.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1322, allocations: 39.98 kB / 480 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1322, allocations: 3.984 kB / 480 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1322, allocations: 0 / 480 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.1322, allocations: 4 kB / 480 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1322, allocations: 3.938 kB / 480 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.1326, allocations: 330.8 kB / 480.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.1327, allocations: 100.7 kB / 480.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1327, allocations: 4 kB / 480.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.1328, allocations: 7.984 kB / 480.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1329, allocations: 19.92 kB / 480.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1329, allocations: 4 kB / 480.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003484/0.1332, allocations: 395.1 kB / 480.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1332, allocations: 4 kB / 480.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000293/0.1335, allocations: 48 kB / 480.9 MB, free: 2.414 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.001498/0.135, allocations: 0.6994 MB / 481.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.1354, allocations: 171.7 kB / 481.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1354, allocations: 4 kB / 481.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1356, allocations: 98.08 kB / 481.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.1361, allocations: 79.27 kB / 481.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009161/0.137, allocations: 0.694 MB / 482.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1374, allocations: 0.8182 MB / 483.4 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1375, allocations: 49.91 kB / 483.5 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.1376, allocations: 35.42 kB / 483.5 MB, free: 44 kB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1376, allocations: 0 / 483.5 MB, free: 44 kB / 350.1 MB Notification: Performance of Templates: time 0.006289/0.1439, allocations: 3.251 MB / 486.7 MB, free: 12.81 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches