Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007316/0.0007316, allocations: 96.95 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.2856/0.2856, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003859, allocations: 19.98 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.001909/0.1041, allocations: 1.323 MB / 492.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007609/0.1049, allocations: 0.6488 MB / 492.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.105, allocations: 0 / 492.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1052, allocations: 27.91 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1054, allocations: 35.89 kB / 492.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.1054, allocations: 0 / 492.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1056, allocations: 43.84 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.1056, allocations: 7.984 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.1056, allocations: 11.98 kB / 492.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.1057, allocations: 15.94 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1057, allocations: 0 / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.1058, allocations: 11.98 kB / 492.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.1058, allocations: 15.88 kB / 493 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.1059, allocations: 53.5 kB / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.678e-05/0.106, allocations: 48.2 kB / 493.1 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.106, allocations: 0 / 493.1 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.106, allocations: 4 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.106, allocations: 0 / 493.1 MB, free: 8.641 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.0002866/0.1063, allocations: 355.3 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1063, allocations: 8.031 kB / 493.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1064, allocations: 8.844 kB / 493.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1065, allocations: 168.3 kB / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1065, allocations: 384 / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1065, allocations: 12.3 kB / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1067, allocations: 127.3 kB / 493.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1067, allocations: 192 / 493.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1067, allocations: 3.938 kB / 493.7 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.1068, allocations: 27.92 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.811e-05/0.1069, allocations: 39.91 kB / 493.8 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.1074, allocations: 0.8983 MB / 494.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.1075, allocations: 173.1 kB / 494.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.1075, allocations: 84.12 kB / 495 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1076, allocations: 79.22 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1076, allocations: 113.9 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1076, allocations: 0 / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.474e-05/0.1077, allocations: 33.61 kB / 495.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1077, allocations: 130.7 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1079, allocations: 186.1 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1079, allocations: 25.7 kB / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.108, allocations: 143.2 kB / 495.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.108, allocations: 0 / 495.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.108, allocations: 8 kB / 495.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.1081, allocations: 318.8 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.1082, allocations: 31.98 kB / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1083, allocations: 157 kB / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1085, allocations: 200.9 kB / 496.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1085, allocations: 4 kB / 496.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002769/0.1088, allocations: 201.1 kB / 496.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1088, allocations: 8 kB / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1088, allocations: 4 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1088, allocations: 8 kB / 496.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1089, allocations: 35.92 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.109, allocations: 4.594 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.1091, allocations: 39.62 kB / 496.6 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1091, allocations: 15.94 kB / 496.7 MB, free: 4.656 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.0001191/0.1092, allocations: 209 kB / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.1093, allocations: 112.8 kB / 497 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.1093, allocations: 116.8 kB / 497.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/0.1094, allocations: 184.2 kB / 497.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.095e-05/0.1094, allocations: 180.3 kB / 497.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/0.1095, allocations: 184.2 kB / 497.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.1097, allocations: 425.1 kB / 498 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/0.1097, allocations: 108.9 kB / 498.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.1098, allocations: 112.9 kB / 498.3 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/0.1098, allocations: 180.3 kB / 498.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.1099, allocations: 180.2 kB / 498.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.943e-05/0.11, allocations: 176.3 kB / 498.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.802e-05/0.11, allocations: 180.3 kB / 499 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.1101, allocations: 311.7 kB / 499.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.1102, allocations: 197.9 kB / 499.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.1103, allocations: 176.3 kB / 499.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.1104, allocations: 113 kB / 499.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.1104, allocations: 180.2 kB / 499.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.1105, allocations: 101 kB / 0.4883 GB, free: 1.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.1106, allocations: 128.1 kB / 0.4884 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1106, allocations: 4 kB / 0.4884 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.1108, allocations: 16 kB / 0.4884 GB, free: 0.9336 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.0004083/0.1112, allocations: 285.7 kB / 0.4887 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1114, allocations: 76.91 kB / 0.4888 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1114, allocations: 4.125 kB / 0.4888 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.1114, allocations: 3.938 kB / 0.4888 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1117, allocations: 0.5263 MB / 0.4893 GB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1516/0.2634, allocations: 303 kB / 0.4896 GB, free: 44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.2635, allocations: 0.6985 MB / 0.4903 GB, free: 43.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.2636, allocations: 17.11 kB / 0.4903 GB, free: 43.3 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2636, allocations: 0.8125 kB / 0.4903 GB, free: 43.3 MB / 378.7 MB Notification: Performance of Templates: time 0.002441/0.2661, allocations: 1.251 MB / 0.4915 GB, free: 43.28 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches