Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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 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 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) 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001817/0.001817, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2101/0.2101, allocations: 44.17 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 73.55 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1811, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.005823/0.187, allocations: 1.672 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.1898, allocations: 1.039 MB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-05/0.1899, allocations: 4 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1902, allocations: 15.92 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1906, allocations: 39.84 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.1914, allocations: 158.8 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1917, allocations: 75.75 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1919, allocations: 12 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.192, allocations: 23.92 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1922, allocations: 31.84 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1922, allocations: 4 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.1924, allocations: 47.97 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.1925, allocations: 15.92 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.1926, allocations: 27.8 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1929, allocations: 72.12 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1929, allocations: 0 / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.853e-06/0.1929, allocations: 4 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1929, allocations: 0 / 472.4 MB, free: 11.55 MB / 350.1 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.0008608/0.1938, allocations: 391.2 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/0.1939, allocations: 8.031 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.194, allocations: 12.84 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1943, allocations: 192.2 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1944, allocations: 4.375 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.1944, allocations: 384 / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1948, allocations: 79.45 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1948, allocations: 4 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1948, allocations: 0 / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1949, allocations: 0 / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.1951, allocations: 43.91 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000694/0.1959, allocations: 300.7 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1961, allocations: 58.48 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1963, allocations: 28.88 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1963, allocations: 0 / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.1964, allocations: 30.56 kB / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.1964, allocations: 0 / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001455/0.1979, allocations: 233.2 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.198, allocations: 81.11 kB / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1982, allocations: 133.8 kB / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1982, allocations: 25.7 kB / 474 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.1983, allocations: 100.1 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1984, allocations: 23.66 kB / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.1985, allocations: 17.72 kB / 474.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1986, allocations: 326.8 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1989, allocations: 31.97 kB / 474.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1991, allocations: 57.67 kB / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.1995, allocations: 96.95 kB / 474.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1996, allocations: 0 / 474.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005407/0.2001, allocations: 113.5 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.2002, allocations: 8 kB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2002, allocations: 8.016 kB / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2002, allocations: 0 / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.2004, allocations: 19.98 kB / 474.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2005, allocations: 4 kB / 474.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2006, allocations: 11.92 kB / 474.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2006, allocations: 4 kB / 474.8 MB, free: 8.906 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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.0001413/0.2008, allocations: 118.3 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.2009, allocations: 7.906 kB / 474.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.2015, allocations: 142 kB / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2015, allocations: 0 / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2015, allocations: 0 / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2016, allocations: 3.938 kB / 475.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009542/0.2025, allocations: 410.4 kB / 475.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2026, allocations: 0 / 475.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.2027, allocations: 15.98 kB / 475.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/0.2027, allocations: 4 kB / 475.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.2028, allocations: 7.922 kB / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2028, allocations: 3.938 kB / 475.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2028, allocations: 4 kB / 475.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.2034, allocations: 223.3 kB / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.2035, allocations: 81.02 kB / 475.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.2035, allocations: 15.88 kB / 475.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.2037, allocations: 7.984 kB / 475.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.2038, allocations: 4 kB / 475.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2038, allocations: 0 / 475.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.204, allocations: 114.3 kB / 476 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.204, allocations: 0 / 476 MB, free: 7.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000512/0.2045, allocations: 28 kB / 476 MB, free: 7.637 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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.00192/0.2065, allocations: 441.1 kB / 476.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005806/0.2071, allocations: 91.92 kB / 476.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2071, allocations: 7.875 kB / 476.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.2074, allocations: 47.97 kB / 476.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.208, allocations: 23.02 kB / 476.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.2088, allocations: 233.6 kB / 476.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.2092, allocations: 0.7004 MB / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.2093, allocations: 11.44 kB / 477.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2093, allocations: 0 / 477.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.006358/0.2157, allocations: 1.801 MB / 479.3 MB, free: 4.406 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches