Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 175.9 kB / 16.72 MB, free: 5.074 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.196/1.196, 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.0007553/0.0007554, allocations: 85 kB / 271.2 MB, free: 8.246 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.28/0.28, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 12 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09159, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.001583/0.09321, allocations: 1.263 MB / 492.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004851/0.09371, allocations: 299.8 kB / 492.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.09376, allocations: 4 kB / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.09399, allocations: 67.84 kB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.09413, allocations: 59.86 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.09437, allocations: 87.83 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.0945, allocations: 59.83 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.09459, allocations: 11.97 kB / 492.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.09464, allocations: 31.91 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.09472, allocations: 39.83 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.09475, allocations: 0 / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.09482, allocations: 31.98 kB / 492.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.09486, allocations: 15.92 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.09491, allocations: 49.52 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.09503, allocations: 67.89 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.09504, allocations: 3.938 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09504, allocations: 0 / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.09505, allocations: 0 / 492.9 MB, free: 8.555 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.0003984/0.09546, allocations: 391.3 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.0955, allocations: 12.03 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.09554, allocations: 16.78 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.0957, allocations: 188.1 kB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.09572, allocations: 8.375 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.09574, allocations: 384 / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.09586, allocations: 53.81 kB / 493.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.09588, allocations: 0 / 493.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.09589, allocations: 0 / 493.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.0959, allocations: 4 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.096, allocations: 27.98 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.09634, allocations: 296.8 kB / 493.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.09653, allocations: 42.56 kB / 493.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.09659, allocations: 24.94 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.09662, allocations: 0 / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.09664, allocations: 34.56 kB / 494 MB, free: 7.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.09665, allocations: 0 / 494 MB, free: 7.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005091/0.09716, allocations: 177.1 kB / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.0972, allocations: 51.41 kB / 494.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.09739, allocations: 202.2 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.09741, allocations: 25.7 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.09747, allocations: 104.1 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.0975, allocations: 19.72 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.09751, allocations: 3.938 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.09761, allocations: 326.8 kB / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.09769, allocations: 19.98 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.09775, allocations: 27.97 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.09789, allocations: 64.83 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.0979, allocations: 0 / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000183/0.09809, allocations: 93.58 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.09811, allocations: 8 kB / 495.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.09812, allocations: 0 / 495.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.09814, allocations: 7.922 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.0982, allocations: 15.94 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.09822, allocations: 0 / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.09826, allocations: 7.984 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.09827, allocations: 0 / 495.1 MB, free: 6.129 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.462e-05/0.09836, allocations: 133.8 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.0984, allocations: 11.89 kB / 495.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.09862, allocations: 105.9 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.09863, allocations: 0.5938 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.09864, allocations: 0 / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.09865, allocations: 7.984 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.09906, allocations: 374.4 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.09908, allocations: 0 / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.09913, allocations: 15.98 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.09914, allocations: 4 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.09916, allocations: 4 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.09916, allocations: 3.938 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.09917, allocations: 0 / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.0994, allocations: 203.3 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.09945, allocations: 85 kB / 496 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.09947, allocations: 4 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.09954, allocations: 7.938 kB / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.09958, allocations: 3.984 kB / 496 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.09959, allocations: 4 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.09971, allocations: 164 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09972, allocations: 0 / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.09995, allocations: 12 kB / 496.2 MB, free: 4.902 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.0007666/0.1007, allocations: 414.5 kB / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1009, allocations: 59.91 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1009, allocations: 0 / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.101, allocations: 39.97 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1013, allocations: 8 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.1017, allocations: 262.9 kB / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.102, allocations: 0.7043 MB / 497.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.102, allocations: 15.44 kB / 497.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.102, allocations: 0 / 497.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of Templates: time 0.002651/0.1047, allocations: 1.485 MB / 499.2 MB, free: 1.906 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches