Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 174.2 kB / 16.72 MB, free: 5.051 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.262/1.262, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006749/0.000675, allocations: 90.34 kB / 271.2 MB, free: 8.238 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.2967/0.2967, allocations: 43.57 MB / 363.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 20 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09978, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.001696/0.1015, allocations: 1.327 MB / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.1023, allocations: 0.6488 MB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.1024, allocations: 0 / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1026, allocations: 19.98 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1027, allocations: 39.89 kB / 492.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.1027, allocations: 3.938 kB / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1029, allocations: 39.89 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.155e-05/0.1029, allocations: 4 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.1029, allocations: 15.88 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.103, allocations: 23.91 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.103, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.1031, allocations: 8 kB / 493 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.1031, allocations: 19.92 kB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.1031, allocations: 45.58 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.476e-05/0.1032, allocations: 48.19 kB / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1032, allocations: 4 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1032, allocations: 0 / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1033, allocations: 0 / 493.1 MB, free: 8.391 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002564/0.1035, allocations: 351.3 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.1036, allocations: 8.031 kB / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.1036, allocations: 8.844 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1037, allocations: 180.2 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1037, allocations: 384 / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1037, allocations: 8.375 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1039, allocations: 122.9 kB / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1039, allocations: 4.188 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1039, allocations: 3.938 kB / 493.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.104, allocations: 23.98 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.104, allocations: 47.84 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.1047, allocations: 0.8945 MB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.1048, allocations: 169.2 kB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.1048, allocations: 84.14 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.1048, allocations: 79.22 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.1049, allocations: 109.9 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.1049, allocations: 4 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.418e-05/0.105, allocations: 33.61 kB / 495.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.1051, allocations: 130.6 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1052, allocations: 190.1 kB / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1053, allocations: 25.7 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.1054, allocations: 139.2 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.1054, allocations: 3.984 kB / 495.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.1054, allocations: 8 kB / 495.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1055, allocations: 318.8 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.1056, allocations: 35.97 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1057, allocations: 153.1 kB / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.1059, allocations: 200.8 kB / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.1059, allocations: 0 / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003061/0.1063, allocations: 197.1 kB / 496.5 MB, free: 4.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1063, allocations: 12.06 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1063, allocations: 7.938 kB / 496.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1063, allocations: 12 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1065, allocations: 35.92 kB / 496.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1065, allocations: 11.92 kB / 496.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.1066, allocations: 27.69 kB / 496.6 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.1066, allocations: 12 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001224/0.1067, allocations: 209 kB / 496.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.1068, allocations: 116.8 kB / 497 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.1069, allocations: 120.7 kB / 497.1 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.644e-05/0.107, allocations: 188.2 kB / 497.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.308e-05/0.107, allocations: 180.2 kB / 497.5 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.707e-05/0.1071, allocations: 180.3 kB / 497.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.1074, allocations: 421.2 kB / 498 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/0.1074, allocations: 112.9 kB / 498.2 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.1075, allocations: 109 kB / 498.3 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.245e-05/0.1075, allocations: 180.2 kB / 498.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/0.1076, allocations: 176.3 kB / 498.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-05/0.1077, allocations: 184.2 kB / 498.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.673e-05/0.1077, allocations: 184.2 kB / 499 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1079, allocations: 311.7 kB / 499.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.1079, allocations: 193.9 kB / 499.5 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.108, allocations: 176.3 kB / 499.6 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1081, allocations: 108.9 kB / 499.7 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1082, allocations: 184.3 kB / 499.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.1082, allocations: 104.9 kB / 0.4883 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.1083, allocations: 128.1 kB / 0.4884 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1083, allocations: 0 / 0.4884 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.1086, allocations: 16 kB / 0.4884 GB, free: 0.6875 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 (0): * Single equations (assignments): 0 * 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.0004279/0.109, allocations: 277.6 kB / 0.4887 GB, free: 448 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.1092, allocations: 80.09 kB / 0.4888 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1092, allocations: 0 / 0.4888 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.1092, allocations: 0 / 0.4888 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1459/0.2551, allocations: 0.5341 MB / 0.4893 GB, free: 43.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.2554, allocations: 310.3 kB / 0.4896 GB, free: 43.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.2555, allocations: 0.6994 MB / 0.4903 GB, free: 42.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.2556, allocations: 15 kB / 0.4903 GB, free: 42.89 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2556, allocations: 0 / 0.4903 GB, free: 42.89 MB / 378.7 MB Notification: Performance of Templates: time 0.002399/0.258, allocations: 1.253 MB / 0.4915 GB, free: 42.88 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches