Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008577/0.0008576, 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.299/1.299, 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.0007322/0.0007322, allocations: 92.97 kB / 271.2 MB, free: 8.238 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.2916/0.2916, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001724/0.1047, allocations: 1.274 MB / 492.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005547/0.1053, allocations: 319.8 kB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.1053, allocations: 0 / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.1058, allocations: 439.2 kB / 492.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1061, allocations: 243.5 kB / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.1064, allocations: 139.7 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1066, allocations: 131.7 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.1067, allocations: 24.14 kB / 493.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.1068, allocations: 103.8 kB / 493.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.107, allocations: 163.7 kB / 493.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.107, allocations: 0 / 493.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.1071, allocations: 23.98 kB / 493.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.1072, allocations: 83.69 kB / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.1073, allocations: 112.9 kB / 493.8 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1075, allocations: 171.8 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1075, allocations: 4 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1075, allocations: 0 / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1075, allocations: 0 / 494 MB, free: 7.676 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.0006213/0.1081, allocations: 0.599 MB / 494.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1082, allocations: 12.03 kB / 494.6 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.1082, allocations: 36.47 kB / 494.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1085, allocations: 292.2 kB / 494.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1085, allocations: 8.375 kB / 494.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1085, allocations: 384 / 495 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1087, allocations: 61.61 kB / 495 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1087, allocations: 0 / 495 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1087, allocations: 4 kB / 495 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1087, allocations: 0 / 495 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1088, allocations: 47.91 kB / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.1093, allocations: 392.8 kB / 495.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1094, allocations: 46.56 kB / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.18e-05/0.1095, allocations: 24.94 kB / 495.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1095, allocations: 4 kB / 495.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1096, allocations: 42.48 kB / 495.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1096, allocations: 0 / 495.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003377/0.1099, allocations: 141 kB / 495.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.11, allocations: 51.41 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.1107, allocations: 0.8535 MB / 496.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1107, allocations: 25.7 kB / 496.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1109, allocations: 220.1 kB / 496.8 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1109, allocations: 11.8 kB / 496.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.1109, allocations: 4 kB / 496.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.111, allocations: 358.7 kB / 497.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.1111, allocations: 19.98 kB / 497.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.1112, allocations: 27.98 kB / 497.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1113, allocations: 56.75 kB / 497.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1113, allocations: 0 / 497.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001829/0.1115, allocations: 121.1 kB / 497.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1115, allocations: 4 kB / 497.4 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1115, allocations: 0 / 497.4 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1116, allocations: 0 / 497.4 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.1116, allocations: 11.98 kB / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1116, allocations: 0 / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.1117, allocations: 8 kB / 497.5 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1117, allocations: 0 / 497.5 MB, free: 4.012 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 (3): * Single equations (assignments): 3 * 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.0001692/0.1119, allocations: 225.6 kB / 497.7 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.112, allocations: 43.44 kB / 497.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.1122, allocations: 137.2 kB / 497.8 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1122, allocations: 4.031 kB / 497.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1122, allocations: 0 / 497.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1122, allocations: 4 kB / 497.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1125, allocations: 289.5 kB / 498.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1125, allocations: 0 / 498.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.1126, allocations: 15.98 kB / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1126, allocations: 0 / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1126, allocations: 0 / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1126, allocations: 0 / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1126, allocations: 4 kB / 498.2 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1128, allocations: 214.9 kB / 498.4 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.1129, allocations: 112.5 kB / 498.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1129, allocations: 4 kB / 498.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.113, allocations: 7.984 kB / 498.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.113, allocations: 4 kB / 498.5 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1131, allocations: 4 kB / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005527/0.1136, allocations: 0.6472 MB / 499.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 3.938 kB / 499.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000255/0.1139, allocations: 16 kB / 499.2 MB, free: 2.195 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 (3): * Single equations (assignments): 3 * 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.0007077/0.1146, allocations: 355.4 kB / 499.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1148, allocations: 47.97 kB / 499.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1148, allocations: 0 / 499.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.1149, allocations: 35.92 kB / 499.6 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1152, allocations: 17.95 kB / 499.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/0.1162, allocations: 0.8507 MB / 0.4887 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1165, allocations: 0.8184 MB / 0.4895 GB, free: 56 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1166, allocations: 11.44 kB / 0.4895 GB, free: 44 kB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1166, allocations: 4 kB / 0.4895 GB, free: 40 kB / 378.7 MB Notification: Performance of Templates: time 0.1634/0.2799, allocations: 3.44 MB / 0.4929 GB, free: 42.2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches