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.001215/0.001215, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001268/0.001268, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.459/1.459, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.212/0.212, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 69.17 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1057, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003482/0.1093, allocations: 1.954 MB / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1109, allocations: 0.959 MB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.111, allocations: 3.938 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.1115, allocations: 263.2 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1119, allocations: 191.3 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1132, allocations: 0.6495 MB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.1135, allocations: 311.2 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.1137, allocations: 76.56 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1139, allocations: 135.5 kB / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1141, allocations: 203.3 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.1141, allocations: 8 kB / 474.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1143, allocations: 67.92 kB / 474.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1144, allocations: 95.67 kB / 474.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.1145, allocations: 111.1 kB / 474.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1149, allocations: 302.9 kB / 475.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1149, allocations: 3.938 kB / 475.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1149, allocations: 0 / 475.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1149, allocations: 0 / 475.2 MB, free: 9.062 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.0007193/0.1156, allocations: 0.6301 MB / 475.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1157, allocations: 8.031 kB / 475.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.1158, allocations: 40.47 kB / 475.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1161, allocations: 302.3 kB / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1161, allocations: 8.375 kB / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1161, allocations: 16.31 kB / 476.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1164, allocations: 125.7 kB / 476.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1164, allocations: 4 kB / 476.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1165, allocations: 4 kB / 476.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1165, allocations: 8 kB / 476.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.1167, allocations: 87.88 kB / 476.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.1173, allocations: 0.4963 MB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1175, allocations: 110.5 kB / 477.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.1176, allocations: 48.81 kB / 477.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1177, allocations: 0 / 477.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1177, allocations: 34.56 kB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.1177, allocations: 0 / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009873/0.1187, allocations: 438.9 kB / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1188, allocations: 55.41 kB / 477.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.1193, allocations: 0.521 MB / 478.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1193, allocations: 29.7 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1195, allocations: 204.3 kB / 478.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.1195, allocations: 55.11 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1196, allocations: 33.7 kB / 478.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1198, allocations: 358.7 kB / 478.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1199, allocations: 67.95 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.12, allocations: 63.95 kB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.1203, allocations: 148.8 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1203, allocations: 3.938 kB / 479.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003755/0.1207, allocations: 230.9 kB / 479.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1207, allocations: 8 kB / 479.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1208, allocations: 0 / 479.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1208, allocations: 3.938 kB / 479.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1209, allocations: 35.92 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.121, allocations: 0 / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.121, allocations: 15.92 kB / 479.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.121, allocations: 4 kB / 479.4 MB, free: 4.691 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.0001625/0.1212, allocations: 181.8 kB / 479.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.1213, allocations: 35.53 kB / 479.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.1218, allocations: 279.9 kB / 479.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1218, allocations: 4 kB / 479.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1218, allocations: 0 / 479.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1218, allocations: 0 / 479.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.1227, allocations: 0.6621 MB / 480.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1227, allocations: 0 / 480.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1228, allocations: 35.97 kB / 480.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1228, allocations: 0 / 480.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1228, allocations: 15.94 kB / 480.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1228, allocations: 0 / 480.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1228, allocations: 3.938 kB / 480.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.1233, allocations: 326.9 kB / 480.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.1233, allocations: 100.7 kB / 481 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.1234, allocations: 0 / 481 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.1235, allocations: 11.98 kB / 481 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1235, allocations: 15.92 kB / 481 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1236, allocations: 4 kB / 481 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.1239, allocations: 399.1 kB / 481.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.124, allocations: 4 kB / 481.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1243, allocations: 48 kB / 481.5 MB, free: 2.484 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.001628/0.1259, allocations: 0.6981 MB / 482.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.1263, allocations: 179.8 kB / 482.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1263, allocations: 0 / 482.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1265, allocations: 98.08 kB / 482.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.1271, allocations: 79.27 kB / 482.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1282, allocations: 0.6996 MB / 483.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1286, allocations: 0.8104 MB / 484 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.1287, allocations: 35.42 kB / 484.1 MB, free: 160 kB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1287, allocations: 0 / 484.1 MB, free: 160 kB / 350.1 MB Notification: Performance of Templates: time 0.007728/0.1365, allocations: 4.532 MB / 488.6 MB, free: 11.64 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 -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