Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008945/0.0008944, allocations: 175 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.25/1.25, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006546/0.0006545, allocations: 92.97 kB / 271.2 MB, free: 8.242 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.2812/0.2812, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.001672/0.1027, allocations: 1.274 MB / 492.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004688/0.1032, allocations: 291.8 kB / 492.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.1032, allocations: 0 / 492.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.1037, allocations: 439.2 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.104, allocations: 243.6 kB / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1042, allocations: 95.81 kB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1044, allocations: 123.7 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.1045, allocations: 16 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.195e-05/0.1046, allocations: 95.78 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.1048, allocations: 167.7 kB / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1048, allocations: 0 / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.1048, allocations: 12 kB / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.1049, allocations: 79.75 kB / 493.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.105, allocations: 116.8 kB / 493.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1052, allocations: 171.8 kB / 493.9 MB, free: 7.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1052, allocations: 4 kB / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1052, allocations: 0 / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1052, allocations: 0 / 493.9 MB, free: 7.781 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.000555/0.1058, allocations: 0.5797 MB / 494.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1058, allocations: 11.97 kB / 494.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.1059, allocations: 48.38 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1061, allocations: 288.2 kB / 494.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1062, allocations: 4.375 kB / 494.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.1062, allocations: 4.375 kB / 494.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1063, allocations: 49.81 kB / 494.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1063, allocations: 3.938 kB / 494.9 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1063, allocations: 0 / 494.9 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1063, allocations: 4 kB / 494.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.1064, allocations: 23.98 kB / 494.9 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.1068, allocations: 376.8 kB / 495.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.1069, allocations: 30.56 kB / 495.3 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.1069, allocations: 24.84 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.107, allocations: 0 / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.107, allocations: 38.56 kB / 495.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.107, allocations: 0 / 495.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002323/0.1072, allocations: 97.12 kB / 495.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1073, allocations: 51.41 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.108, allocations: 0.8574 MB / 496.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.108, allocations: 25.7 kB / 496.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1082, allocations: 228.1 kB / 496.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.1082, allocations: 7.906 kB / 496.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.1082, allocations: 0 / 496.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1084, allocations: 358.7 kB / 497 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.1084, allocations: 15.92 kB / 497 MB, free: 4.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.1084, allocations: 12 kB / 497 MB, free: 4.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.818e-05/0.1085, allocations: 32.91 kB / 497 MB, free: 4.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1085, allocations: 0 / 497 MB, free: 4.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001317/0.1087, allocations: 89.22 kB / 497.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1087, allocations: 6.5 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1087, allocations: 0 / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1087, allocations: 0 / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.1088, allocations: 12.02 kB / 497.1 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1088, allocations: 0 / 497.1 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.1088, allocations: 7.938 kB / 497.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1089, allocations: 0 / 497.2 MB, free: 4.312 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 (2): * Single equations (assignments): 2 * 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.000165/0.109, allocations: 213.7 kB / 497.4 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.1091, allocations: 47.42 kB / 497.4 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.1093, allocations: 108.6 kB / 497.5 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1093, allocations: 0 / 497.5 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1093, allocations: 0 / 497.5 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1093, allocations: 0 / 497.5 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1095, allocations: 281.5 kB / 497.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1095, allocations: 3.984 kB / 497.8 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.1096, allocations: 4 kB / 497.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1096, allocations: 0 / 497.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1096, allocations: 0 / 497.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1096, allocations: 0 / 497.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1096, allocations: 4.031 kB / 497.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1098, allocations: 194.9 kB / 498 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.1099, allocations: 116.6 kB / 498.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1099, allocations: 4 kB / 498.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.11, allocations: 4 kB / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.11, allocations: 8.016 kB / 498.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.11, allocations: 0 / 498.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005467/0.1105, allocations: 0.6472 MB / 498.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1106, allocations: 0 / 498.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.1108, allocations: 12 kB / 498.8 MB, free: 2.586 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 (2): * Single equations (assignments): 2 * 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.0006491/0.1114, allocations: 370.7 kB / 499.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1116, allocations: 27.92 kB / 499.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1116, allocations: 0 / 499.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.1116, allocations: 16.05 kB / 499.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.112, allocations: 22.03 kB / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.1129, allocations: 0.8227 MB / 0.4883 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1132, allocations: 0.8145 MB / 0.4891 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.1133, allocations: 11.44 kB / 0.4891 GB, free: 500 kB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1133, allocations: 0 / 0.4891 GB, free: 500 kB / 378.7 MB Notification: Performance of Templates: time 0.1775/0.2908, allocations: 3.324 MB / 0.4924 GB, free: 42.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches