Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001932/0.001933, allocations: 179.2 kB / 16.41 MB, free: 5.727 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.654/1.654, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007815/0.0007815, allocations: 91.59 kB / 270.9 MB, free: 8.352 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.3367/0.3367, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1073, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.001799/0.1091, allocations: 1.259 MB / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005026/0.1096, allocations: 295.9 kB / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.1097, allocations: 0 / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.11, allocations: 111.8 kB / 491.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1101, allocations: 71.78 kB / 492 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1104, allocations: 75.91 kB / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1105, allocations: 67.81 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.1106, allocations: 15.97 kB / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.1107, allocations: 35.78 kB / 492.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1108, allocations: 51.88 kB / 492.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1108, allocations: 4 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.1109, allocations: 23.98 kB / 492.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.111, allocations: 15.92 kB / 492.2 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.111, allocations: 37.64 kB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.1111, allocations: 75.89 kB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1111, allocations: 0 / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1111, allocations: 0 / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1112, allocations: 3.938 kB / 492.4 MB, free: 9.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004528/0.1116, allocations: 403 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1117, allocations: 16.02 kB / 492.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.1117, allocations: 15.77 kB / 492.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1119, allocations: 198.9 kB / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1119, allocations: 4 kB / 493 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1119, allocations: 4 kB / 493 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1121, allocations: 49.69 kB / 493 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1121, allocations: 0 / 493 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1121, allocations: 0 / 493 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1121, allocations: 0 / 493 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.1122, allocations: 39.86 kB / 493.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.1126, allocations: 289 kB / 493.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1128, allocations: 42.56 kB / 493.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.1128, allocations: 20.94 kB / 493.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1128, allocations: 11.94 kB / 493.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1129, allocations: 30.56 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1129, allocations: 0 / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005379/0.1134, allocations: 185 kB / 493.6 MB, free: 7.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1135, allocations: 55.41 kB / 493.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1137, allocations: 234.7 kB / 493.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1137, allocations: 25.7 kB / 494 MB, free: 7.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.1138, allocations: 108.1 kB / 494.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1138, allocations: 19.73 kB / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1138, allocations: 0 / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.1139, allocations: 330.8 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.114, allocations: 23.97 kB / 494.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.1141, allocations: 23.98 kB / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1142, allocations: 27.98 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1142, allocations: 4 kB / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.1144, allocations: 93.48 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1144, allocations: 7.953 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.1144, allocations: 4 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1145, allocations: 11.86 kB / 494.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.1145, allocations: 16 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1145, allocations: 3.938 kB / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1146, allocations: 11.98 kB / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1146, allocations: 0 / 494.6 MB, free: 6.582 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 9.325e-05/0.1147, allocations: 130.9 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.1147, allocations: 11.81 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.115, allocations: 110.9 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.115, allocations: 4 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.115, allocations: 3.984 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.115, allocations: 7.938 kB / 494.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1154, allocations: 366.6 kB / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1155, allocations: 0 / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.1155, allocations: 19.94 kB / 495.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1155, allocations: 0 / 495.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.1156, allocations: 4 kB / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1156, allocations: 0 / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1156, allocations: 0 / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1158, allocations: 199.4 kB / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.1159, allocations: 88.92 kB / 495.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1159, allocations: 3.953 kB / 495.6 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.116, allocations: 11.98 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.116, allocations: 8 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.116, allocations: 0 / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.1161, allocations: 183.2 kB / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1162, allocations: 0 / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.1164, allocations: 16 kB / 495.8 MB, free: 5.32 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.0007824/0.1172, allocations: 401.6 kB / 496.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1174, allocations: 67.89 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1174, allocations: 0 / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.1175, allocations: 27.98 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1178, allocations: 16.17 kB / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.1182, allocations: 295.2 kB / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1185, allocations: 0.7082 MB / 497.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.1185, allocations: 15.44 kB / 497.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1185, allocations: 4 kB / 497.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of Templates: time 0.002838/0.1214, allocations: 1.571 MB / 498.9 MB, free: 2.223 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches