Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001452, allocations: 174.4 kB / 8.74 MB, free: 348 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.352/1.352, 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.0009069/0.0009071, allocations: 90.95 kB / 281.6 MB, free: 5.324 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.2317/0.2317, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.098e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5925, allocations: 87.6 MB / 0.5802 GB, free: 8.926 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.5928, allocations: 75.95 kB / 0.5803 GB, free: 8.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.61, allocations: 7.874 MB / 0.588 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.6101, allocations: 0 / 0.588 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.6101, allocations: 8 kB / 0.588 GB, free: 0.9648 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000518/0.6106, allocations: 0.5364 MB / 0.5885 GB, free: 392 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.6107, allocations: 15.98 kB / 0.5885 GB, free: 376 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.6108, allocations: 39.44 kB / 0.5886 GB, free: 336 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.6112, allocations: 327.3 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.6112, allocations: 0 / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.6113, allocations: 3.984 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.491e-05/0.6113, allocations: 12 kB / 0.5889 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/0.6114, allocations: 41.64 kB / 0.5889 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6114, allocations: 0 / 0.5889 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.6114, allocations: 0 / 0.5889 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6115, allocations: 4 kB / 0.5889 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.612, allocations: 401.3 kB / 0.5893 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.612, allocations: 18.58 kB / 0.5893 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.6121, allocations: 12.92 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.6121, allocations: 3.938 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.6121, allocations: 34.56 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6122, allocations: 4 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.6123, allocations: 77.22 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.6124, allocations: 55.34 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6135, allocations: 0.7473 MB / 0.5902 GB, free: 14.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.6135, allocations: 25.7 kB / 0.5903 GB, free: 14.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.6137, allocations: 216 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.6137, allocations: 3.906 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.6137, allocations: 4.031 kB / 0.5905 GB, free: 14.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6138, allocations: 362.8 kB / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.6139, allocations: 4 kB / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.6139, allocations: 4 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.6139, allocations: 4 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6139, allocations: 0 / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001737/0.6141, allocations: 81.16 kB / 0.5909 GB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6141, allocations: 4 kB / 0.5909 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6141, allocations: 8.094 kB / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6141, allocations: 3.938 kB / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.6142, allocations: 8 kB / 0.5909 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6142, allocations: 0 / 0.5909 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.6143, allocations: 7.984 kB / 0.5909 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.6143, allocations: 4 kB / 0.591 GB, free: 13.72 MB / 410.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 (2): * Single equations (assignments): 2 * 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 6.518e-05/0.6144, allocations: 104.9 kB / 0.5911 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.6145, allocations: 43.44 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.6146, allocations: 104.8 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6147, allocations: 0 / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6147, allocations: 0 / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6147, allocations: 0 / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.615, allocations: 305.9 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.615, allocations: 0 / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.615, allocations: 8 kB / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.615, allocations: 0 / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.615, allocations: 0 / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.615, allocations: 3.984 kB / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6151, allocations: 4.031 kB / 0.5915 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.6152, allocations: 167.1 kB / 0.5917 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.6154, allocations: 164.5 kB / 0.5918 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.6155, allocations: 0 / 0.5918 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.6155, allocations: 11.97 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.6156, allocations: 3.938 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.6156, allocations: 4 kB / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006002/0.6162, allocations: 0.6121 MB / 0.5924 GB, free: 12.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6162, allocations: 0 / 0.5924 GB, free: 12.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.6165, allocations: 48 kB / 0.5925 GB, free: 12.07 MB / 410.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 (2): * Single equations (assignments): 2 * 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.0006869/0.6172, allocations: 298.7 kB / 0.5928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.6173, allocations: 8 kB / 0.5928 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6173, allocations: 0 / 0.5928 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.6173, allocations: 8 kB / 0.5928 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.6176, allocations: 22.08 kB / 0.5928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.6186, allocations: 0.6833 MB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.6189, allocations: 0.8302 MB / 0.5943 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.619, allocations: 32 kB / 0.5943 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.6191, allocations: 23.38 kB / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6191, allocations: 0 / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of Templates: time 0.005447/0.6246, allocations: 1.934 MB / 0.5962 GB, free: 8.238 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches