Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000915/0.0009149, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.354/1.354, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0007974/0.0007974, allocations: 89.3 kB / 267 MB, free: 9.273 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.3636/0.3636, allocations: 43.46 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.237e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4949, allocations: 86.79 MB / 0.5576 GB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4952, allocations: 63.97 kB / 0.5576 GB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.5108, allocations: 7.707 MB / 0.5651 GB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5109, allocations: 0 / 0.5651 GB, free: 10.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.5109, allocations: 4 kB / 0.5651 GB, free: 10.5 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.0004949/0.5114, allocations: 0.5572 MB / 0.5657 GB, free: 9.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5115, allocations: 12.03 kB / 0.5657 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.5115, allocations: 43.44 kB / 0.5657 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.512, allocations: 315.5 kB / 0.566 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.512, allocations: 3.938 kB / 0.566 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.512, allocations: 7.906 kB / 0.5661 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5121, allocations: 51.05 kB / 0.5661 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5122, allocations: 0 / 0.5661 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.5122, allocations: 0 / 0.5661 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5122, allocations: 4 kB / 0.5661 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.5122, allocations: 15.95 kB / 0.5661 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.5128, allocations: 441.2 kB / 0.5665 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.513, allocations: 34.67 kB / 0.5666 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.513, allocations: 16.84 kB / 0.5666 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.5131, allocations: 0 / 0.5666 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.5131, allocations: 46.52 kB / 0.5666 GB, free: 8.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.5131, allocations: 0 / 0.5666 GB, free: 8.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004254/0.5135, allocations: 188 kB / 0.5668 GB, free: 8.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.5136, allocations: 51.41 kB / 0.5669 GB, free: 8.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.5147, allocations: 0.7811 MB / 0.5676 GB, free: 7.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.5147, allocations: 25.7 kB / 0.5677 GB, free: 7.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.5149, allocations: 224 kB / 0.5679 GB, free: 7.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.5149, allocations: 19.75 kB / 0.5679 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.5149, allocations: 0 / 0.5679 GB, free: 7.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5151, allocations: 358.8 kB / 0.5682 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.5151, allocations: 12.55 kB / 0.5682 GB, free: 7.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.5152, allocations: 15.94 kB / 0.5683 GB, free: 7.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.5152, allocations: 8 kB / 0.5683 GB, free: 7.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.5152, allocations: 0 / 0.5683 GB, free: 7.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001278/0.5153, allocations: 97.12 kB / 0.5684 GB, free: 7.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.5154, allocations: 11.23 kB / 0.5684 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5154, allocations: 8 kB / 0.5684 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5154, allocations: 0 / 0.5684 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.5155, allocations: 18.23 kB / 0.5684 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5155, allocations: 3.125 kB / 0.5684 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.5156, allocations: 4 kB / 0.5684 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.5156, allocations: 8 kB / 0.5684 GB, free: 6.961 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 (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 6.58e-05/0.5157, allocations: 101 kB / 0.5685 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.5157, allocations: 47.66 kB / 0.5685 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.5159, allocations: 125 kB / 0.5687 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.516, allocations: 0 / 0.5687 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.516, allocations: 0 / 0.5687 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.516, allocations: 0 / 0.5687 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.5167, allocations: 0.5686 MB / 0.5692 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5167, allocations: 3.953 kB / 0.5692 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.5168, allocations: 15.98 kB / 0.5692 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5168, allocations: 4 kB / 0.5692 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.5168, allocations: 384 / 0.5692 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5168, allocations: 0 / 0.5692 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5168, allocations: 4 kB / 0.5692 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.517, allocations: 191.1 kB / 0.5694 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.5172, allocations: 164.5 kB / 0.5696 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.5173, allocations: 0 / 0.5696 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5174, allocations: 19.98 kB / 0.5696 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.5174, allocations: 3.938 kB / 0.5696 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.5174, allocations: 4 kB / 0.5696 GB, free: 5.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006591/0.5181, allocations: 0.6303 MB / 0.5702 GB, free: 4.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5181, allocations: 1.406 kB / 0.5702 GB, free: 4.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000271/0.5184, allocations: 63.92 kB / 0.5703 GB, free: 4.93 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 (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.0007955/0.5192, allocations: 365.6 kB / 0.5706 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.5193, allocations: 31.98 kB / 0.5707 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5193, allocations: 0 / 0.5707 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.5193, allocations: 19.94 kB / 0.5707 GB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.5196, allocations: 26.03 kB / 0.5707 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.5206, allocations: 0.7001 MB / 0.5714 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.5211, allocations: 0.8311 MB / 0.5722 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.444e-05/0.5212, allocations: 44.22 kB / 0.5723 GB, free: 2.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.5213, allocations: 19.44 kB / 0.5723 GB, free: 2.934 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5213, allocations: 0 / 0.5723 GB, free: 2.934 MB / 394.7 MB Notification: Performance of Templates: time 0.005838/0.5271, allocations: 2.439 MB / 0.5747 GB, free: 500 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches