Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008376/0.0008377, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007333/0.0007333, allocations: 93.36 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2771/0.2771, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.001754/0.1035, allocations: 1.286 MB / 492.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004703/0.104, allocations: 291.9 kB / 492.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.104, allocations: 4 kB / 492.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.1045, allocations: 435.2 kB / 492.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1048, allocations: 243.6 kB / 493.1 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1051, allocations: 91.81 kB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1052, allocations: 127.7 kB / 493.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.1053, allocations: 8 kB / 493.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.1054, allocations: 103.7 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1056, allocations: 167.8 kB / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1057, allocations: 0 / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.1057, allocations: 23.92 kB / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.1058, allocations: 79.75 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.1059, allocations: 112.9 kB / 493.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1061, allocations: 167.8 kB / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1061, allocations: 0 / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1061, allocations: 4 kB / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1062, allocations: 0 / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006052/0.1068, allocations: 0.5991 MB / 494.5 MB, free: 7.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1068, allocations: 15.95 kB / 494.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.1069, allocations: 36.47 kB / 494.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1071, allocations: 292.2 kB / 494.9 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1072, allocations: 4.375 kB / 494.9 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1072, allocations: 4.375 kB / 494.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1073, allocations: 65.8 kB / 494.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1073, allocations: 0 / 494.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1074, allocations: 0 / 494.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1074, allocations: 4 kB / 494.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1075, allocations: 43.91 kB / 495 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1079, allocations: 368.8 kB / 495.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.108, allocations: 46.55 kB / 495.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.1081, allocations: 24.95 kB / 495.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1081, allocations: 3.984 kB / 495.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1082, allocations: 34.5 kB / 495.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1082, allocations: 4 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002979/0.1085, allocations: 129.1 kB / 495.6 MB, free: 5.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.1085, allocations: 51.41 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.1092, allocations: 0.8535 MB / 496.5 MB, free: 5.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1092, allocations: 25.7 kB / 496.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1093, allocations: 208.1 kB / 496.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.1094, allocations: 7.906 kB / 496.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1094, allocations: 0 / 496.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1095, allocations: 370.7 kB / 497.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.1096, allocations: 12 kB / 497.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.1096, allocations: 19.98 kB / 497.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1098, allocations: 53.05 kB / 497.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1098, allocations: 0 / 497.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001742/0.1099, allocations: 113.1 kB / 497.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.11, allocations: 11.98 kB / 497.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.11, allocations: 0 / 497.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.11, allocations: 4 kB / 497.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.1101, allocations: 8 kB / 497.3 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.923e-05/0.1101, allocations: 0 / 497.3 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.1102, allocations: 11.92 kB / 497.3 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1102, allocations: 4 kB / 497.3 MB, free: 4.164 MB / 378.7 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.1103, allocations: 213.7 kB / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.1104, allocations: 35.53 kB / 497.6 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1106, allocations: 132.9 kB / 497.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1106, allocations: 0 / 497.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1106, allocations: 0 / 497.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1107, allocations: 4 kB / 497.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1109, allocations: 297.3 kB / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1109, allocations: 0 / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.111, allocations: 12 kB / 498 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.111, allocations: 0 / 498 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.111, allocations: 0 / 498 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.111, allocations: 4 kB / 498 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.111, allocations: 0 / 498 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1112, allocations: 214.9 kB / 498.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1113, allocations: 112.5 kB / 498.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1113, allocations: 0 / 498.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.1114, allocations: 11.98 kB / 498.3 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1114, allocations: 4 kB / 498.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1114, allocations: 0 / 498.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005289/0.112, allocations: 0.6472 MB / 499 MB, free: 2.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.112, allocations: 4 kB / 499 MB, free: 2.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.1122, allocations: 16 kB / 499 MB, free: 2.375 MB / 378.7 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007024/0.1129, allocations: 347.7 kB / 499.3 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1131, allocations: 55.89 kB / 499.4 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1132, allocations: 7.938 kB / 499.4 MB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.1132, allocations: 19.98 kB / 499.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1136, allocations: 21.95 kB / 499.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1146, allocations: 0.8351 MB / 0.4885 GB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.115, allocations: 0.8145 MB / 0.4893 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1151, allocations: 11.44 kB / 0.4894 GB, free: 252 kB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1151, allocations: 0 / 0.4894 GB, free: 252 kB / 378.7 MB Notification: Performance of Templates: time 0.1726/0.2877, allocations: 3.376 MB / 0.4927 GB, free: 42.13 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches