Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001295/0.001295, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.321/1.321, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.1951/0.1951, allocations: 44.17 MB / 336.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 55.84 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09575, allocations: 60.82 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002759/0.09855, allocations: 1.668 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007104/0.09928, allocations: 439.2 kB / 471.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.09935, allocations: 4 kB / 471.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.09986, allocations: 455.2 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1002, allocations: 239.6 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1006, allocations: 173.8 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1008, allocations: 163.6 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1009, allocations: 36.08 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.101, allocations: 99.8 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1012, allocations: 223.5 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1012, allocations: 0 / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.1013, allocations: 27.98 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.1014, allocations: 83.69 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1015, allocations: 99 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1017, allocations: 196 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1017, allocations: 0 / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1017, allocations: 3.938 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1017, allocations: 0 / 473.2 MB, free: 10.87 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.0006236/0.1023, allocations: 0.6326 MB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1024, allocations: 12.03 kB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.1024, allocations: 40.38 kB / 473.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1027, allocations: 300.1 kB / 474.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1027, allocations: 4.375 kB / 474.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1028, allocations: 8.375 kB / 474.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1029, allocations: 57.61 kB / 474.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1029, allocations: 0 / 474.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1029, allocations: 0 / 474.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1029, allocations: 7.938 kB / 474.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.103, allocations: 27.92 kB / 474.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1035, allocations: 384.7 kB / 474.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1037, allocations: 54.5 kB / 474.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.1038, allocations: 20.94 kB / 474.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1038, allocations: 0 / 474.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1038, allocations: 30.56 kB / 474.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1038, allocations: 0 / 474.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005818/0.1044, allocations: 239.9 kB / 475 MB, free: 8.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1044, allocations: 51.41 kB / 475.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.1052, allocations: 0.8612 MB / 475.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1052, allocations: 25.7 kB / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1054, allocations: 224.1 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1054, allocations: 11.81 kB / 476.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.1055, allocations: 21.72 kB / 476.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1056, allocations: 362.8 kB / 476.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.1057, allocations: 19.98 kB / 476.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1057, allocations: 19.98 kB / 476.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1059, allocations: 53.02 kB / 476.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1059, allocations: 4 kB / 476.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/0.1061, allocations: 129 kB / 476.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1061, allocations: 4 kB / 476.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1061, allocations: 3.938 kB / 476.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1061, allocations: 0 / 476.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.1062, allocations: 15.98 kB / 476.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1062, allocations: 0 / 476.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.1063, allocations: 11.94 kB / 476.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1063, allocations: 3.984 kB / 476.8 MB, free: 7.047 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.0001841/0.1065, allocations: 214.3 kB / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.1065, allocations: 39.53 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.1068, allocations: 141 kB / 477.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1068, allocations: 0 / 477.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1068, allocations: 0 / 477.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1068, allocations: 3.938 kB / 477.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.1073, allocations: 482.4 kB / 477.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1073, allocations: 0 / 477.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1074, allocations: 15.88 kB / 477.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1074, allocations: 0 / 477.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1074, allocations: 3.938 kB / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1074, allocations: 0 / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1074, allocations: 7.984 kB / 477.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1077, allocations: 219.5 kB / 477.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.1078, allocations: 112.5 kB / 478 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1078, allocations: 11.92 kB / 478 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.1079, allocations: 0 / 478 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.1079, allocations: 11.98 kB / 478.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1079, allocations: 0 / 478.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005397/0.1085, allocations: 0.6472 MB / 478.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1085, allocations: 0 / 478.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1087, allocations: 20 kB / 478.7 MB, free: 5.035 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.0008368/0.1096, allocations: 402.5 kB / 479.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1098, allocations: 59.95 kB / 479.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1098, allocations: 0 / 479.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.1099, allocations: 27.92 kB / 479.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1103, allocations: 29.89 kB / 479.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1113, allocations: 0.9101 MB / 480.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1117, allocations: 0.8182 MB / 481 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.1117, allocations: 19.42 kB / 481 MB, free: 2.871 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1117, allocations: 0 / 481 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Templates: time 0.006286/0.118, allocations: 3.728 MB / 484.7 MB, free: 15.14 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches