Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009867/0.0009864, allocations: 175.5 kB / 16.72 MB, free: 4.957 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.23/1.23, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007062/0.0007063, allocations: 81.42 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.3043/0.3043, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003501, allocations: 16 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002448/0.112, allocations: 1.609 MB / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1133, allocations: 0.628 MB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1135, allocations: 0 / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.114, allocations: 243.4 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.1143, allocations: 171.5 kB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1154, allocations: 411.2 kB / 493.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.1159, allocations: 235.3 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1161, allocations: 68.64 kB / 494.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1162, allocations: 103.6 kB / 494.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1165, allocations: 155.4 kB / 494.4 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.1165, allocations: 4 kB / 494.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1167, allocations: 51.98 kB / 494.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1168, allocations: 83.67 kB / 494.6 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1169, allocations: 116.9 kB / 494.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1172, allocations: 207.9 kB / 494.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1172, allocations: 3.938 kB / 494.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1172, allocations: 0 / 494.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1173, allocations: 0 / 494.9 MB, free: 6.805 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007254/0.118, allocations: 0.5643 MB / 495.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.118, allocations: 12.03 kB / 495.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.1181, allocations: 36.47 kB / 495.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1185, allocations: 314.2 kB / 495.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1185, allocations: 4.375 kB / 495.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1185, allocations: 12.38 kB / 495.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1188, allocations: 109.7 kB / 495.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1188, allocations: 4 kB / 495.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1188, allocations: 4 kB / 495.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1188, allocations: 0 / 495.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.119, allocations: 79.89 kB / 496 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.1197, allocations: 484.3 kB / 496.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1198, allocations: 98.47 kB / 496.6 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.1199, allocations: 40.78 kB / 496.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.12, allocations: 3.938 kB / 496.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.12, allocations: 38.55 kB / 496.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.12, allocations: 0 / 496.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009024/0.1209, allocations: 380 kB / 497 MB, free: 4.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.121, allocations: 55.41 kB / 497.1 MB, free: 4.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.1215, allocations: 0.5173 MB / 497.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1215, allocations: 25.7 kB / 497.6 MB, free: 3.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1217, allocations: 204.3 kB / 497.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.1217, allocations: 59.11 kB / 497.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1218, allocations: 0 / 497.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1219, allocations: 350.8 kB / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.122, allocations: 51.97 kB / 498.3 MB, free: 3.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1221, allocations: 59.97 kB / 498.3 MB, free: 3.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1224, allocations: 132.3 kB / 498.5 MB, free: 3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1224, allocations: 3.938 kB / 498.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003277/0.1227, allocations: 205.1 kB / 498.7 MB, free: 2.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1227, allocations: 4 kB / 498.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1227, allocations: 0 / 498.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1228, allocations: 0 / 498.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1229, allocations: 35.98 kB / 498.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.1229, allocations: 0 / 498.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.123, allocations: 11.98 kB / 498.7 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.123, allocations: 7.938 kB / 498.7 MB, free: 2.73 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 (17): * Single equations (assignments): 17 * 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.000189/0.1232, allocations: 181.7 kB / 498.9 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.1233, allocations: 35.53 kB / 498.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.1238, allocations: 237.3 kB / 499.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1238, allocations: 4 kB / 499.2 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1238, allocations: 7.938 kB / 499.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1238, allocations: 3.984 kB / 499.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.1246, allocations: 0.6108 MB / 499.8 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1246, allocations: 0 / 499.8 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1247, allocations: 35.97 kB / 499.8 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1247, allocations: 4 kB / 499.8 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1248, allocations: 8 kB / 499.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1248, allocations: 0 / 499.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1248, allocations: 7.938 kB / 499.8 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.1252, allocations: 295 kB / 0.4884 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.1253, allocations: 120.6 kB / 0.4885 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1253, allocations: 7.922 kB / 0.4885 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.1254, allocations: 8 kB / 0.4885 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1255, allocations: 15.92 kB / 0.4886 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1255, allocations: 8 kB / 0.4886 GB, free: 1.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004011/0.1259, allocations: 391.1 kB / 0.4889 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1259, allocations: 0 / 0.4889 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.1262, allocations: 47.98 kB / 0.489 GB, free: 0.625 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 (17): * Single equations (assignments): 17 * 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.193/0.3192, allocations: 0.6985 MB / 0.4897 GB, free: 43.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.3197, allocations: 142.8 kB / 0.4898 GB, free: 43.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3198, allocations: 0 / 0.4898 GB, free: 43.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3199, allocations: 73 kB / 0.4899 GB, free: 43.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.3206, allocations: 59.84 kB / 0.4899 GB, free: 43.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3218, allocations: 0.7151 MB / 0.4906 GB, free: 43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3221, allocations: 0.7952 MB / 0.4914 GB, free: 42.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.3222, allocations: 32.2 kB / 0.4914 GB, free: 42.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3222, allocations: 1.031 kB / 0.4914 GB, free: 42.3 MB / 378.7 MB Notification: Performance of Templates: time 0.008444/0.3307, allocations: 4.197 MB / 0.4955 GB, free: 41.96 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches