Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 173.5 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.182/1.182, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007235/0.0007235, allocations: 85.05 kB / 271.2 MB, free: 8.242 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.2805/0.2805, allocations: 43.57 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 15.94 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09042, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.001612/0.09207, allocations: 1.259 MB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.09261, allocations: 307.8 kB / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.09267, allocations: 0 / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.09284, allocations: 19.91 kB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.09299, allocations: 31.86 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.09325, allocations: 75.89 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.09337, allocations: 51.84 kB / 492.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.09346, allocations: 15.98 kB / 492.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.09351, allocations: 19.86 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.09356, allocations: 23.91 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.09358, allocations: 0 / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.09365, allocations: 20 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.09369, allocations: 11.94 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.09374, allocations: 45.56 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.09385, allocations: 51.91 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.09386, allocations: 0 / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09387, allocations: 0 / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.09388, allocations: 0 / 492.7 MB, free: 8.711 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.0003711/0.09425, allocations: 383.5 kB / 493.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.09429, allocations: 8.031 kB / 493.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.09433, allocations: 8.844 kB / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.09449, allocations: 192 kB / 493.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.0945, allocations: 384 / 493.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.09452, allocations: 384 / 493.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.09465, allocations: 53.8 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.09467, allocations: 7.906 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.09469, allocations: 4 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.0947, allocations: 4 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.98e-05/0.09479, allocations: 23.98 kB / 493.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.09513, allocations: 280.8 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.09532, allocations: 50.55 kB / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.09538, allocations: 16.86 kB / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.09541, allocations: 4 kB / 493.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.09544, allocations: 34.64 kB / 493.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.09545, allocations: 3.938 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000527/0.09598, allocations: 161.3 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.09602, allocations: 55.41 kB / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.09614, allocations: 142 kB / 494.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.09616, allocations: 29.7 kB / 494.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.09621, allocations: 96.12 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.09623, allocations: 11.8 kB / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.09624, allocations: 0 / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.09634, allocations: 326.8 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.09642, allocations: 27.92 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.09649, allocations: 28.05 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.09663, allocations: 64.94 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.09664, allocations: 0 / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.09683, allocations: 93.58 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.09686, allocations: 8 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.09687, allocations: 0 / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.09688, allocations: 288 / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.09695, allocations: 15.98 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.09696, allocations: 7.875 kB / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.09701, allocations: 4 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.09702, allocations: 4 kB / 494.8 MB, free: 6.387 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.13e-05/0.09712, allocations: 129.8 kB / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.09715, allocations: 7.891 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.09739, allocations: 105.9 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.09741, allocations: 4 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09742, allocations: 0 / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.09742, allocations: 3.984 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.09782, allocations: 358.5 kB / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.09783, allocations: 0 / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.09789, allocations: 19.98 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.0979, allocations: 0 / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.09791, allocations: 0 / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.09792, allocations: 8.109 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.09793, allocations: 4 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.09815, allocations: 199.4 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.09819, allocations: 81.02 kB / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.09822, allocations: 4 kB / 495.7 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.09829, allocations: 11.92 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.09832, allocations: 4 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.09833, allocations: 4 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.212e-05/0.09841, allocations: 111.2 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.09842, allocations: 4 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.09864, allocations: 11.94 kB / 495.9 MB, free: 5.23 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.0007627/0.09941, allocations: 404 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.09961, allocations: 55.95 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09962, allocations: 4 kB / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.0997, allocations: 35.92 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1, allocations: 11.98 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.1003, allocations: 214.2 kB / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.1006, allocations: 0.6926 MB / 497.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.1006, allocations: 11.44 kB / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1006, allocations: 0 / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Templates: time 0.002609/0.1032, allocations: 1.376 MB / 498.7 MB, free: 2.422 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches