Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 100.9 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 196.2 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.1 MB / 222.7 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4365/0.4365, allocations: 43.49 MB / 313.5 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.89 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1675, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00399/0.1716, allocations: 2.018 MB / 441.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1734, allocations: 1.042 MB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.1736, allocations: 4 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1739, allocations: 39.78 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.1742, allocations: 127.5 kB / 443 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1754, allocations: 0.5265 MB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1757, allocations: 267.2 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1759, allocations: 76.45 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1761, allocations: 119.5 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1763, allocations: 175.4 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.1764, allocations: 12 kB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.1765, allocations: 28 kB / 444.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.1766, allocations: 147.5 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1768, allocations: 150.7 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.1772, allocations: 346.7 kB / 444.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1772, allocations: 4 kB / 444.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1772, allocations: 0 / 444.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1772, allocations: 4 kB / 444.9 MB, free: 9.746 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001011/0.1782, allocations: 0.7347 MB / 445.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1783, allocations: 8.031 kB / 445.6 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.016e-05/0.1784, allocations: 52.28 kB / 445.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.1789, allocations: 447.8 kB / 446.1 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1789, allocations: 8.375 kB / 446.1 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.179, allocations: 12.12 kB / 446.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.1793, allocations: 159.2 kB / 446.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1793, allocations: 0 / 446.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1793, allocations: 4 kB / 446.3 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1793, allocations: 7.938 kB / 446.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.1796, allocations: 87.94 kB / 446.4 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009257/0.1805, allocations: 0.6799 MB / 447.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.1807, allocations: 117.2 kB / 447.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1809, allocations: 53.81 kB / 447.2 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1809, allocations: 4 kB / 447.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1809, allocations: 38.5 kB / 447.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1809, allocations: 0 / 447.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001455/0.1824, allocations: 0.5332 MB / 447.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1825, allocations: 77.33 kB / 447.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/0.1834, allocations: 0.8544 MB / 448.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1834, allocations: 37.64 kB / 448.8 MB, free: 5.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.1837, allocations: 248.2 kB / 449 MB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/0.1837, allocations: 55.25 kB / 449.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/0.1838, allocations: 33.7 kB / 449.1 MB, free: 5.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.184, allocations: 374.7 kB / 449.5 MB, free: 4.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.1842, allocations: 63.95 kB / 449.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.1844, allocations: 89.59 kB / 449.6 MB, free: 4.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.1848, allocations: 149.6 kB / 449.8 MB, free: 4.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1848, allocations: 0 / 449.8 MB, free: 4.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004917/0.1853, allocations: 245 kB / 450 MB, free: 4.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1853, allocations: 4 kB / 450 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1853, allocations: 3.938 kB / 450 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1854, allocations: 0 / 450 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.1856, allocations: 39.91 kB / 450 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1856, allocations: 7.984 kB / 450 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1858, allocations: 12 kB / 450.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.1858, allocations: 7.984 kB / 450.1 MB, free: 4.266 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.186, allocations: 213.7 kB / 450.3 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1862, allocations: 55.25 kB / 450.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006732/0.1868, allocations: 282.7 kB / 450.6 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1868, allocations: 0 / 450.6 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.1869, allocations: 4 kB / 450.6 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1869, allocations: 0 / 450.6 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1881, allocations: 0.7907 MB / 451.4 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1881, allocations: 3.938 kB / 451.4 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1882, allocations: 35.97 kB / 451.4 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1883, allocations: 4 kB / 451.4 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1883, allocations: 4 kB / 451.4 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1883, allocations: 4.016 kB / 451.5 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1883, allocations: 7.984 kB / 451.5 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.1889, allocations: 421.9 kB / 451.9 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1891, allocations: 128.5 kB / 452 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.1891, allocations: 4 kB / 452 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1893, allocations: 15.92 kB / 452 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.1894, allocations: 23.91 kB / 452 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1894, allocations: 4 kB / 452 MB, free: 2.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007325/0.1902, allocations: 0.6315 MB / 452.7 MB, free: 1.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1902, allocations: 0 / 452.7 MB, free: 1.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.1905, allocations: 52 kB / 452.7 MB, free: 1.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.1916, allocations: 416.3 kB / 453.1 MB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.192, allocations: 155.8 kB / 453.3 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.192, allocations: 0 / 453.3 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.1922, allocations: 91.88 kB / 453.4 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.1929, allocations: 69.55 kB / 453.4 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2505/0.4435, allocations: 1.027 MB / 454.5 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.444, allocations: 0.8658 MB / 455.3 MB, free: 48.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.4443, allocations: 86.77 kB / 455.4 MB, free: 48.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4444, allocations: 38.27 kB / 455.5 MB, free: 48.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4444, allocations: 2.625 kB / 455.5 MB, free: 48.25 MB / 382.1 MB Notification: Performance of Templates: time 0.009538/0.454, allocations: 3.801 MB / 459.3 MB, free: 48.1 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches