Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 111.8 kB / 16.41 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 192 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2092/0.2092, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 65.45 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1122, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003778/0.116, allocations: 1.612 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000671/0.1167, allocations: 335.5 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.1168, allocations: 0 / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1173, allocations: 447.2 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.1177, allocations: 259.4 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.118, allocations: 111.7 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1182, allocations: 163.7 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.1183, allocations: 16.19 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1185, allocations: 107.8 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1188, allocations: 215.6 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1188, allocations: 4 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1189, allocations: 31.98 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.119, allocations: 83.67 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.1191, allocations: 103 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.1195, allocations: 259 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1195, allocations: 0 / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1195, allocations: 0 / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.1195, allocations: 3.938 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008752/0.1204, allocations: 0.6331 MB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1205, allocations: 11.89 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.1206, allocations: 44.38 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1208, allocations: 288.2 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1209, allocations: 8.375 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1209, allocations: 4.375 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.121, allocations: 53.62 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1211, allocations: 7.922 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1211, allocations: 4 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1211, allocations: 0 / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1212, allocations: 39.89 kB / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.1217, allocations: 384.7 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1218, allocations: 46.56 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.1219, allocations: 20.94 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1219, allocations: 7.938 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1219, allocations: 34.56 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1219, allocations: 0 / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008055/0.1228, allocations: 280.1 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.1228, allocations: 55.41 kB / 0.4934 GB, free: 5.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/0.1236, allocations: 0.8534 MB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1236, allocations: 29.7 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1238, allocations: 212.1 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1238, allocations: 27.62 kB / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.1238, allocations: 25.64 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.124, allocations: 362.8 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1241, allocations: 31.97 kB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1242, allocations: 39.97 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.1244, allocations: 64.81 kB / 0.495 GB, free: 4.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1244, allocations: 4 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002823/0.1247, allocations: 141.1 kB / 0.4951 GB, free: 4.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1247, allocations: 12 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1248, allocations: 48 / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1248, allocations: 3.984 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1249, allocations: 19.98 kB / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1249, allocations: 0 / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.125, allocations: 11.92 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.125, allocations: 4.312 kB / 0.4951 GB, free: 4.094 MB / 382.1 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.1252, allocations: 217.7 kB / 0.4954 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1253, allocations: 43.44 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.1256, allocations: 173.3 kB / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1256, allocations: 0 / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.1256, allocations: 4 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.1257, allocations: 3.938 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.1263, allocations: 494.4 kB / 0.496 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1263, allocations: 0 / 0.496 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.1264, allocations: 27.91 kB / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1264, allocations: 0 / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1264, allocations: 3.938 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1264, allocations: 0 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1264, allocations: 0 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.1268, allocations: 242.9 kB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.1269, allocations: 108.6 kB / 0.4964 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1269, allocations: 3.938 kB / 0.4964 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.127, allocations: 11.98 kB / 0.4964 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.127, allocations: 7.984 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1271, allocations: 4 kB / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000564/0.1276, allocations: 0.6472 MB / 0.4971 GB, free: 2.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1276, allocations: 3.938 kB / 0.4971 GB, free: 2.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1279, allocations: 28 kB / 0.4971 GB, free: 1.988 MB / 382.1 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008717/0.1288, allocations: 405 kB / 0.4975 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.1291, allocations: 71.94 kB / 0.4975 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1291, allocations: 4 kB / 0.4976 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1292, allocations: 47.91 kB / 0.4976 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1296, allocations: 29.81 kB / 0.4976 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1307, allocations: 0.7914 MB / 0.4984 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1311, allocations: 0.8221 MB / 0.4992 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.1312, allocations: 12.3 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1312, allocations: 15.42 kB / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1312, allocations: 0 / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Templates: time 0.004698/0.1359, allocations: 1.553 MB / 0.5007 GB, free: 14.23 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches