Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008488/0.0008524, allocations: 175.8 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.198/1.198, 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.0007631/0.000763, allocations: 91.09 kB / 271.2 MB, free: 8.254 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.2892/0.2892, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 16 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.001972/0.1034, allocations: 1.519 MB / 492.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.1044, allocations: 0.5968 MB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.1045, allocations: 0 / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.1049, allocations: 239.5 kB / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.1052, allocations: 171.5 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.1061, allocations: 403.2 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1063, allocations: 211.4 kB / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1065, allocations: 48.17 kB / 494 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1066, allocations: 99.59 kB / 494.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1068, allocations: 155.4 kB / 494.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1068, allocations: 4 kB / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.1069, allocations: 32 kB / 494.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.107, allocations: 79.73 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.1071, allocations: 112.9 kB / 494.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1073, allocations: 183.9 kB / 494.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1074, allocations: 0 / 494.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1074, allocations: 0 / 494.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1074, allocations: 0 / 494.6 MB, free: 7.066 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005934/0.108, allocations: 0.5526 MB / 495.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.108, allocations: 8.031 kB / 495.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.1081, allocations: 36.56 kB / 495.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1084, allocations: 294.3 kB / 495.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1084, allocations: 8.375 kB / 495.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1084, allocations: 4.375 kB / 495.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1086, allocations: 85.59 kB / 495.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1086, allocations: 7.984 kB / 495.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1086, allocations: 8 kB / 495.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1087, allocations: 0 / 495.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1088, allocations: 55.91 kB / 495.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1093, allocations: 420.5 kB / 496.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.1094, allocations: 62.55 kB / 496.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.1095, allocations: 28.91 kB / 496.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1095, allocations: 4 kB / 496.2 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.1096, allocations: 30.56 kB / 496.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1096, allocations: 0 / 496.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002952/0.1099, allocations: 133.3 kB / 496.3 MB, free: 5.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1099, allocations: 59.34 kB / 496.4 MB, free: 5.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.1104, allocations: 0.5172 MB / 496.9 MB, free: 4.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1104, allocations: 33.69 kB / 497 MB, free: 4.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1106, allocations: 180 kB / 497.1 MB, free: 4.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1106, allocations: 31.62 kB / 497.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.1106, allocations: 0 / 497.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1107, allocations: 346.8 kB / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.1108, allocations: 23.92 kB / 497.5 MB, free: 3.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.1109, allocations: 19.98 kB / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.111, allocations: 52.84 kB / 497.6 MB, free: 3.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.111, allocations: 0 / 497.6 MB, free: 3.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001656/0.1112, allocations: 109.3 kB / 497.7 MB, free: 3.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1112, allocations: 11.94 kB / 497.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1112, allocations: 0 / 497.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1112, allocations: 0 / 497.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1113, allocations: 23.86 kB / 497.7 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1113, allocations: 0 / 497.7 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.1114, allocations: 4.438 kB / 497.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1114, allocations: 0 / 497.7 MB, free: 3.738 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 (6): * Single equations (assignments): 6 * 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.0001223/0.1115, allocations: 169.8 kB / 497.9 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1116, allocations: 35.53 kB / 497.9 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1118, allocations: 128.8 kB / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1118, allocations: 3.938 kB / 498.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1118, allocations: 0 / 498.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1118, allocations: 3.984 kB / 498.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1121, allocations: 273.5 kB / 498.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1121, allocations: 0 / 498.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.1122, allocations: 11.94 kB / 498.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1122, allocations: 7.938 kB / 498.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1122, allocations: 3.984 kB / 498.4 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1122, allocations: 3.938 kB / 498.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1122, allocations: 0 / 498.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.1124, allocations: 211.1 kB / 498.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.1125, allocations: 112.7 kB / 498.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1125, allocations: 0 / 498.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.1126, allocations: 11.92 kB / 498.7 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1126, allocations: 4 kB / 498.7 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1126, allocations: 0 / 498.7 MB, free: 2.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000366/0.113, allocations: 391.1 kB / 499.1 MB, free: 2.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.113, allocations: 0 / 499.1 MB, free: 2.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.1133, allocations: 28 kB / 499.1 MB, free: 2.262 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 (6): * Single equations (assignments): 6 * 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.00117/0.1145, allocations: 0.6003 MB / 499.7 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1146, allocations: 51.97 kB / 499.8 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1146, allocations: 0 / 499.8 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.1147, allocations: 35.92 kB / 499.8 MB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.1152, allocations: 73.27 kB / 499.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.1159, allocations: 0.6081 MB / 0.4887 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1162, allocations: 0.779 MB / 0.4895 GB, free: 108 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.1163, allocations: 23.44 kB / 0.4895 GB, free: 88 kB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1163, allocations: 0 / 0.4895 GB, free: 88 kB / 378.7 MB Notification: Performance of Templates: time 0.1709/0.2872, allocations: 3.455 MB / 0.4929 GB, free: 42.21 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches