Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 175.3 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.19/1.19, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007048/0.0007048, allocations: 90.41 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.338/0.338, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 20 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.001741/0.1058, allocations: 1.255 MB / 492.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1069, allocations: 0.9026 MB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.1069, allocations: 4 kB / 493 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1071, allocations: 15.91 kB / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1073, allocations: 35.91 kB / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.1075, allocations: 87.78 kB / 493.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1076, allocations: 51.83 kB / 493.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.1077, allocations: 11.98 kB / 493.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.1078, allocations: 19.92 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1079, allocations: 23.86 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.108, allocations: 0 / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.1081, allocations: 43.97 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.1081, allocations: 11.94 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1081, allocations: 45.56 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1083, allocations: 63.89 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1083, allocations: 0 / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1083, allocations: 0 / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1083, allocations: 0 / 493.4 MB, free: 8.297 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.0004516/0.1088, allocations: 367.6 kB / 493.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1088, allocations: 12.03 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.1089, allocations: 12.83 kB / 493.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.109, allocations: 184.2 kB / 494 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1091, allocations: 4.375 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.1091, allocations: 4.375 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1092, allocations: 71.45 kB / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1093, allocations: 0 / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1093, allocations: 4 kB / 494 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1093, allocations: 3.984 kB / 494 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.189e-05/0.1094, allocations: 31.98 kB / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1098, allocations: 276.9 kB / 494.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.11, allocations: 50.5 kB / 494.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.11, allocations: 24.94 kB / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1101, allocations: 0 / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1101, allocations: 30.56 kB / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1101, allocations: 0 / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005333/0.1106, allocations: 169.3 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.1107, allocations: 77.11 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1108, allocations: 133.8 kB / 494.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1109, allocations: 37.64 kB / 494.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.1109, allocations: 88.12 kB / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1109, allocations: 19.75 kB / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.111, allocations: 0 / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1111, allocations: 326.7 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.1111, allocations: 23.98 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.1112, allocations: 41.77 kB / 495.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1114, allocations: 68.88 kB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1114, allocations: 0 / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/0.1116, allocations: 93.61 kB / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1116, allocations: 4 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1116, allocations: 4 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1116, allocations: 0 / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.1117, allocations: 15.98 kB / 495.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1117, allocations: 0 / 495.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1118, allocations: 8 kB / 495.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.1118, allocations: 0 / 495.5 MB, free: 5.918 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 (5): * Single equations (assignments): 5 * 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.251e-05/0.1119, allocations: 125.8 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1119, allocations: 11.84 kB / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.1121, allocations: 97.62 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1122, allocations: 8 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1122, allocations: 0 / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1122, allocations: 0 / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.1126, allocations: 366.4 kB / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1126, allocations: 0 / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.1126, allocations: 12 kB / 496.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1127, allocations: 4 kB / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1127, allocations: 0 / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1127, allocations: 4.125 kB / 496.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1127, allocations: 4 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1129, allocations: 191.4 kB / 496.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.113, allocations: 89 kB / 496.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.113, allocations: 0 / 496.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1131, allocations: 15.94 kB / 496.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1131, allocations: 7.922 kB / 496.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1131, allocations: 0 / 496.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.1132, allocations: 103.3 kB / 496.5 MB, free: 4.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1132, allocations: 4 kB / 496.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.1134, allocations: 27.98 kB / 496.6 MB, free: 4.762 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 (5): * Single equations (assignments): 5 * 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.0009189/0.1144, allocations: 442.7 kB / 497 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1146, allocations: 55.97 kB / 497.1 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1146, allocations: 4 kB / 497.1 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.1147, allocations: 31.92 kB / 497.1 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.115, allocations: 15.92 kB / 497.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.1153, allocations: 206.3 kB / 497.3 MB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1156, allocations: 0.6887 MB / 498 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.1156, allocations: 19.42 kB / 498 MB, free: 3.301 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1156, allocations: 0 / 498 MB, free: 3.301 MB / 378.7 MB Notification: Performance of Templates: time 0.002903/0.1185, allocations: 1.575 MB / 499.6 MB, free: 1.727 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches