Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001191/0.001191, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.327/1.327, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2344/0.2344, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 65.44 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003369/0.1125, allocations: 1.837 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1141, allocations: 0.8301 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1143, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.1148, allocations: 247.2 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.1152, allocations: 195.3 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1163, allocations: 474.2 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1167, allocations: 255.3 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1168, allocations: 40.39 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.117, allocations: 119.6 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.1172, allocations: 175.5 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.1173, allocations: 4 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1174, allocations: 59.84 kB / 473.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1176, allocations: 83.75 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.1177, allocations: 99.09 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.118, allocations: 243.4 kB / 473.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.118, allocations: 4 kB / 473.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.118, allocations: 7.938 kB / 473.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.118, allocations: 0 / 473.9 MB, free: 9.727 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006816/0.1187, allocations: 0.5835 MB / 474.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1188, allocations: 8.031 kB / 474.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.1189, allocations: 36.55 kB / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.1192, allocations: 290.3 kB / 474.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1192, allocations: 8.312 kB / 474.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1192, allocations: 12.31 kB / 474.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1194, allocations: 81.8 kB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1194, allocations: 0 / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1194, allocations: 0 / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1195, allocations: 4 kB / 474.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1196, allocations: 51.91 kB / 474.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.1201, allocations: 424.5 kB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1203, allocations: 58.55 kB / 475.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.1204, allocations: 24.98 kB / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1204, allocations: 7.984 kB / 475.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1204, allocations: 34.5 kB / 475.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1204, allocations: 0 / 475.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003186/0.1208, allocations: 129.2 kB / 475.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1208, allocations: 55.34 kB / 475.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.1213, allocations: 0.5173 MB / 476.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1213, allocations: 29.64 kB / 476.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1215, allocations: 188 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1216, allocations: 19.66 kB / 476.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1216, allocations: 17.72 kB / 476.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1217, allocations: 358.8 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.1218, allocations: 15.98 kB / 476.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.1219, allocations: 19.98 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.122, allocations: 53.16 kB / 476.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.122, allocations: 4 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001833/0.1222, allocations: 101.3 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1222, allocations: 4 kB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1222, allocations: 4 kB / 477 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1223, allocations: 4 kB / 477 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.1223, allocations: 11.94 kB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1223, allocations: 0 / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.1224, allocations: 7.984 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1224, allocations: 0 / 477 MB, free: 6.383 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 (6): * Single equations (assignments): 6 * 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.0001275/0.1225, allocations: 169.8 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.1226, allocations: 35.53 kB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1229, allocations: 128.8 kB / 477.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1229, allocations: 3.938 kB / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1229, allocations: 0 / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1229, allocations: 4 kB / 477.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1232, allocations: 269.5 kB / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1232, allocations: 3.984 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.1233, allocations: 12 kB / 477.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1233, allocations: 0 / 477.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1233, allocations: 3.938 kB / 477.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1233, allocations: 7.875 kB / 477.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1233, allocations: 0 / 477.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1235, allocations: 207.1 kB / 477.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.1236, allocations: 104.8 kB / 477.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1237, allocations: 192 / 477.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1237, allocations: 19.86 kB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.1238, allocations: 0 / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1238, allocations: 7.984 kB / 478 MB, free: 5.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003603/0.1241, allocations: 391.1 kB / 478.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1242, allocations: 0 / 478.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1244, allocations: 31.91 kB / 478.4 MB, free: 4.91 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 (6): * Single equations (assignments): 6 * 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.001373/0.1258, allocations: 0.582 MB / 479 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.126, allocations: 51.91 kB / 479 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.126, allocations: 0 / 479 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.1261, allocations: 35.98 kB / 479 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.1267, allocations: 78.03 kB / 479.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.1276, allocations: 0.5717 MB / 479.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1281, allocations: 0.7865 MB / 480.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1282, allocations: 33.77 kB / 480.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.1282, allocations: 27.42 kB / 480.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1282, allocations: 0 / 480.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Templates: time 0.006113/0.1343, allocations: 2.604 MB / 483.1 MB, free: 384 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches