Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 109.9 kB / 18.3 MB, free: 4.883 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.002128/0.002128, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.419/1.419, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2195/0.2195, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 69.73 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09783, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003149/0.101, allocations: 1.593 MB / 471.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.1018, allocations: 443.1 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.1018, allocations: 0 / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.1024, allocations: 443.2 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1028, allocations: 251.5 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1032, allocations: 130.6 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1034, allocations: 159.7 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1035, allocations: 16.17 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1036, allocations: 115.7 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1039, allocations: 207.6 kB / 473.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1039, allocations: 4 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.104, allocations: 27.98 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1041, allocations: 79.7 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1042, allocations: 95.05 kB / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1045, allocations: 251 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1045, allocations: 0 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1045, allocations: 7.938 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1045, allocations: 0 / 473.7 MB, free: 10.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006755/0.1052, allocations: 0.629 MB / 474.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1052, allocations: 11.97 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.1053, allocations: 48.31 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1056, allocations: 292.2 kB / 474.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-06/0.1056, allocations: 384 / 474.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1056, allocations: 4.375 kB / 474.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1058, allocations: 65.58 kB / 474.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1058, allocations: 4 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1058, allocations: 0 / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1058, allocations: 3.938 kB / 474.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.1059, allocations: 23.98 kB / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.1064, allocations: 380.7 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1066, allocations: 50.5 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1067, allocations: 16.94 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1067, allocations: 0 / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1067, allocations: 34.56 kB / 475.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1067, allocations: 0 / 475.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006012/0.1073, allocations: 227.9 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1074, allocations: 51.41 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/0.1082, allocations: 0.8613 MB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1082, allocations: 25.7 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1083, allocations: 216.1 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1084, allocations: 23.78 kB / 476.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1084, allocations: 17.7 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1086, allocations: 358.8 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.1086, allocations: 23.98 kB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1087, allocations: 15.98 kB / 477 MB, free: 7.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1088, allocations: 44.83 kB / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1088, allocations: 0 / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.1091, allocations: 117.1 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1091, allocations: 4 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1091, allocations: 4 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1091, allocations: 0 / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.1092, allocations: 15.98 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1092, allocations: 0 / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.1093, allocations: 8.188 kB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1093, allocations: 3.938 kB / 477.2 MB, free: 6.805 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 (5): * Single equations (assignments): 5 * 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.0001753/0.1094, allocations: 213.8 kB / 477.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.1095, allocations: 47.44 kB / 477.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.1098, allocations: 133 kB / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1098, allocations: 0 / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1098, allocations: 0 / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1098, allocations: 7.922 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.1104, allocations: 446.5 kB / 478.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1104, allocations: 3.938 kB / 478.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.1104, allocations: 19.92 kB / 478.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1104, allocations: 4 kB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1105, allocations: 3.938 kB / 478.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1105, allocations: 0 / 478.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1105, allocations: 0 / 478.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1107, allocations: 211 kB / 478.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1108, allocations: 112.6 kB / 478.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1108, allocations: 3.938 kB / 478.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.1109, allocations: 7.984 kB / 478.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.111, allocations: 4 kB / 478.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.111, allocations: 0 / 478.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005791/0.1116, allocations: 0.6472 MB / 479.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1116, allocations: 0 / 479.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1118, allocations: 23.98 kB / 479.1 MB, free: 4.832 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 (5): * Single equations (assignments): 5 * 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.0009024/0.1128, allocations: 417.2 kB / 479.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.113, allocations: 47.95 kB / 479.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.113, allocations: 0 / 479.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.1131, allocations: 27.92 kB / 479.6 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.000391/0.1135, allocations: 25.09 kB / 479.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1145, allocations: 0.8318 MB / 480.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1149, allocations: 0.8182 MB / 481.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.115, allocations: 11.44 kB / 481.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.115, allocations: 0 / 481.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Templates: time 0.006686/0.1217, allocations: 3.656 MB / 484.9 MB, free: 15.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches