Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 173.7 kB / 16.72 MB, free: 5.086 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: 8.941 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.0007675/0.0007677, allocations: 89.55 kB / 271.2 MB, free: 8.246 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.2972/0.2972, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09834, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.001695/0.1001, allocations: 1.319 MB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.1008, allocations: 0.6604 MB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1008, allocations: 0 / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.101, allocations: 31.91 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1012, allocations: 35.89 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.055e-06/0.1012, allocations: 0 / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1013, allocations: 35.91 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.824e-05/0.1014, allocations: 0 / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.1014, allocations: 19.91 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.1015, allocations: 15.94 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.1015, allocations: 0 / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.9e-05/0.1015, allocations: 8 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.1016, allocations: 23.92 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.1016, allocations: 45.56 kB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.752e-05/0.1017, allocations: 48.2 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1017, allocations: 0 / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1017, allocations: 0 / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1017, allocations: 4 kB / 493.1 MB, free: 8.395 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.0002736/0.102, allocations: 355.2 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.102, allocations: 8.031 kB / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.1021, allocations: 12.83 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1022, allocations: 164.3 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1022, allocations: 12.36 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.1022, allocations: 4.312 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1024, allocations: 122.9 kB / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1024, allocations: 192 / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1024, allocations: 7.938 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.1025, allocations: 27.97 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.1025, allocations: 47.84 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.1031, allocations: 0.8905 MB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.1031, allocations: 169.1 kB / 494.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.1032, allocations: 80.14 kB / 494.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1032, allocations: 83.22 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1032, allocations: 113.9 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.1032, allocations: 0 / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.257e-05/0.1033, allocations: 41.62 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1034, allocations: 126.7 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1035, allocations: 186.1 kB / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.1035, allocations: 25.7 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.1036, allocations: 139.2 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.1036, allocations: 7.922 kB / 495.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.1036, allocations: 4 kB / 495.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.1037, allocations: 322.8 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.1038, allocations: 35.97 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1039, allocations: 157 kB / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.104, allocations: 196.9 kB / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1041, allocations: 0 / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002626/0.1043, allocations: 201 kB / 496.5 MB, free: 4.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1043, allocations: 8.625 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1044, allocations: 8 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1044, allocations: 7.984 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1045, allocations: 39.92 kB / 496.6 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1045, allocations: 4 kB / 496.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.1046, allocations: 27.69 kB / 496.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1046, allocations: 12 kB / 496.7 MB, free: 4.422 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 9.42e-05/0.1047, allocations: 209 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.1048, allocations: 116.8 kB / 497 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.1048, allocations: 120.8 kB / 497.1 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.1049, allocations: 176.3 kB / 497.3 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.984e-05/0.1049, allocations: 188.1 kB / 497.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.684e-05/0.105, allocations: 176.3 kB / 497.6 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1052, allocations: 429.1 kB / 498 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.1052, allocations: 112.9 kB / 498.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.1053, allocations: 105 kB / 498.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.813e-05/0.1053, allocations: 184.2 kB / 498.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.1054, allocations: 184.2 kB / 498.6 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-05/0.1054, allocations: 180.2 kB / 498.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.691e-05/0.1055, allocations: 176.3 kB / 499 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1056, allocations: 315.7 kB / 499.3 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.1057, allocations: 193.9 kB / 499.5 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.1057, allocations: 180.2 kB / 499.6 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.1058, allocations: 101 kB / 499.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.1059, allocations: 188.3 kB / 499.9 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1059, allocations: 108.9 kB / 0.4883 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.106, allocations: 124.1 kB / 0.4884 GB, free: 0.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.106, allocations: 0 / 0.4884 GB, free: 0.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.1062, allocations: 16 kB / 0.4884 GB, free: 0.6914 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.0003926/0.1066, allocations: 289.5 kB / 0.4887 GB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1067, allocations: 79.78 kB / 0.4888 GB, free: 360 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1067, allocations: 0 / 0.4888 GB, free: 360 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1068, allocations: 0 / 0.4888 GB, free: 360 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1452/0.2519, allocations: 0.5231 MB / 0.4893 GB, free: 43.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.2523, allocations: 314.3 kB / 0.4896 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2525, allocations: 0.6959 MB / 0.4903 GB, free: 42.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.2525, allocations: 16.59 kB / 0.4903 GB, free: 42.88 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2525, allocations: 0 / 0.4903 GB, free: 42.88 MB / 378.7 MB Notification: Performance of Templates: time 0.002446/0.255, allocations: 1.25 MB / 0.4915 GB, free: 42.85 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches