Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 176.4 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.189/1.189, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006631/0.0006631, allocations: 94.34 kB / 271.2 MB, free: 8.227 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.2792/0.2792, allocations: 43.55 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003443, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.001799/0.1042, allocations: 1.309 MB / 492.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.1048, allocations: 327.7 kB / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1049, allocations: 0 / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1052, allocations: 51.86 kB / 492.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.1054, allocations: 59.81 kB / 492.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1058, allocations: 139.8 kB / 492.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1059, allocations: 59.83 kB / 492.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.106, allocations: 27.83 kB / 492.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.1061, allocations: 27.91 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1062, allocations: 35.84 kB / 492.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1062, allocations: 0 / 492.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.1063, allocations: 23.98 kB / 492.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.1063, allocations: 27.91 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.1064, allocations: 45.52 kB / 492.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1065, allocations: 76.11 kB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1065, allocations: 0 / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1065, allocations: 0 / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1065, allocations: 0 / 493 MB, free: 8.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004257/0.107, allocations: 395.1 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.107, allocations: 8.031 kB / 493.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.107, allocations: 8.844 kB / 493.4 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.1072, allocations: 200.7 kB / 493.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1072, allocations: 4.375 kB / 493.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1073, allocations: 7.938 kB / 493.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1074, allocations: 61.67 kB / 493.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1075, allocations: 4 kB / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1075, allocations: 0 / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1075, allocations: 0 / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1076, allocations: 59.89 kB / 493.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.108, allocations: 304.7 kB / 494 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1082, allocations: 54.56 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.1083, allocations: 28.94 kB / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1083, allocations: 0 / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1083, allocations: 30.56 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.205e-06/0.1083, allocations: 4 kB / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007486/0.1091, allocations: 269.1 kB / 494.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1091, allocations: 67.22 kB / 494.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1093, allocations: 182.5 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1093, allocations: 25.7 kB / 494.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.1094, allocations: 100.1 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1094, allocations: 27.59 kB / 494.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.1094, allocations: 0 / 494.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1095, allocations: 326.8 kB / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1096, allocations: 43.97 kB / 495.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1098, allocations: 43.97 kB / 495.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.11, allocations: 108.8 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.11, allocations: 0 / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002749/0.1103, allocations: 137.5 kB / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1103, allocations: 11.94 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1103, allocations: 320 / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1103, allocations: 0 / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1104, allocations: 23.98 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1105, allocations: 11.92 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.1105, allocations: 8 kB / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1105, allocations: 7.984 kB / 495.5 MB, free: 5.945 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 (7): * Single equations (assignments): 7 * 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 8.711e-05/0.1106, allocations: 129.8 kB / 495.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1107, allocations: 11.81 kB / 495.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.111, allocations: 158.3 kB / 495.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.111, allocations: 0 / 495.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.111, allocations: 3.938 kB / 495.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.111, allocations: 4 kB / 495.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.1115, allocations: 418.5 kB / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1115, allocations: 8 kB / 496.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.1116, allocations: 19.98 kB / 496.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1116, allocations: 7.875 kB / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.1116, allocations: 3.984 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1117, allocations: 4 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1117, allocations: 0 / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.112, allocations: 231.4 kB / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.112, allocations: 92.95 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.112, allocations: 0 / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.1121, allocations: 19.98 kB / 496.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1122, allocations: 7.984 kB / 496.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1122, allocations: 8 kB / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.1123, allocations: 132.1 kB / 496.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1123, allocations: 3.938 kB / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.1125, allocations: 20 kB / 496.8 MB, free: 4.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 (7): * Single equations (assignments): 7 * 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.0007712/0.1133, allocations: 402.4 kB / 497.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.1136, allocations: 103.9 kB / 497.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1136, allocations: 4 kB / 497.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1137, allocations: 51.97 kB / 497.3 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.114, allocations: 23.86 kB / 497.4 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.1145, allocations: 282.8 kB / 497.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1148, allocations: 0.7082 MB / 498.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.1148, allocations: 19.42 kB / 498.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1148, allocations: 0 / 498.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of Templates: time 0.003096/0.1179, allocations: 1.657 MB / 0.4883 GB, free: 1.328 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches