Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 173.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008601/0.00086, allocations: 94.36 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.16 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.645e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.5056, allocations: 87.99 MB / 0.5806 GB, free: 8.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5059, allocations: 75.95 kB / 0.5807 GB, free: 8.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01121/0.5171, allocations: 4.32 MB / 0.5849 GB, free: 4.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5171, allocations: 0 / 0.5849 GB, free: 4.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.5172, allocations: 0 / 0.5849 GB, free: 4.152 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004549/0.5176, allocations: 374.4 kB / 0.5853 GB, free: 3.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.5177, allocations: 11.98 kB / 0.5853 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.5177, allocations: 7.906 kB / 0.5853 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.518, allocations: 202.8 kB / 0.5855 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.518, allocations: 7.953 kB / 0.5855 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.518, allocations: 0 / 0.5855 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.035e-05/0.5181, allocations: 16 kB / 0.5855 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.5182, allocations: 51.41 kB / 0.5855 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5183, allocations: 0 / 0.5855 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5183, allocations: 4 kB / 0.5855 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.5183, allocations: 0 / 0.5855 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.5187, allocations: 273.2 kB / 0.5858 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.5188, allocations: 30.58 kB / 0.5858 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.5188, allocations: 12.86 kB / 0.5858 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.5188, allocations: 0 / 0.5858 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5189, allocations: 34.56 kB / 0.5859 GB, free: 2.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.5189, allocations: 4 kB / 0.5859 GB, free: 2.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005108/0.5194, allocations: 133.5 kB / 0.586 GB, free: 2.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.5195, allocations: 81.11 kB / 0.5861 GB, free: 2.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5196, allocations: 130.9 kB / 0.5862 GB, free: 2.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.5196, allocations: 25.7 kB / 0.5862 GB, free: 2.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.5197, allocations: 92.14 kB / 0.5863 GB, free: 2.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.5197, allocations: 23.7 kB / 0.5863 GB, free: 2.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5197, allocations: 0 / 0.5863 GB, free: 2.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5199, allocations: 322.8 kB / 0.5867 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.5199, allocations: 16 kB / 0.5867 GB, free: 2.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.5199, allocations: 29.73 kB / 0.5867 GB, free: 2.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.52, allocations: 20.89 kB / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.52, allocations: 0 / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.5201, allocations: 65.59 kB / 0.5868 GB, free: 2.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5201, allocations: 9.438 kB / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5201, allocations: 0 / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.5202, allocations: 4 kB / 0.5868 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5203, allocations: 19.98 kB / 0.5868 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5203, allocations: 3.984 kB / 0.5868 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.5204, allocations: 19.88 kB / 0.5868 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.5204, allocations: 0 / 0.5868 GB, free: 1.953 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.51e-05/0.5205, allocations: 116.9 kB / 0.5869 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.5205, allocations: 15.89 kB / 0.587 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.5207, allocations: 78.28 kB / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5207, allocations: 0 / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5207, allocations: 4 kB / 0.587 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5207, allocations: 0 / 0.587 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.521, allocations: 327 kB / 0.5874 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.521, allocations: 4 kB / 0.5874 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.5211, allocations: 19.98 kB / 0.5874 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5212, allocations: 4 kB / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.5212, allocations: 0 / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5212, allocations: 0 / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5212, allocations: 0 / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.5213, allocations: 171.4 kB / 0.5875 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.5214, allocations: 97 kB / 0.5876 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5214, allocations: 4 kB / 0.5876 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.5215, allocations: 15.92 kB / 0.5877 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.5216, allocations: 8.125 kB / 0.5877 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.5216, allocations: 3.984 kB / 0.5877 GB, free: 1.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.501e-05/0.5217, allocations: 109 kB / 0.5878 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5217, allocations: 4 kB / 0.5878 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000264/0.522, allocations: 28 kB / 0.5878 GB, free: 0.8711 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009289/0.5229, allocations: 381 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.523, allocations: 36 kB / 0.5882 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5231, allocations: 0 / 0.5882 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.5231, allocations: 27.94 kB / 0.5882 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.5234, allocations: 11.94 kB / 0.5882 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.5237, allocations: 116.3 kB / 0.5883 GB, free: 368 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.524, allocations: 0.7041 MB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.524, allocations: 15.94 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.5241, allocations: 11.44 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5241, allocations: 0 / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of Templates: time 0.003674/0.5278, allocations: 1.393 MB / 0.5904 GB, free: 14.21 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches