Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.00107, allocations: 111.4 kB / 17.86 MB, free: 5.504 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.001067/0.001067, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.2215/0.2215, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 58.59 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1752, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00515/0.1804, allocations: 1.668 MB / 470.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1819, allocations: 439.2 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1821, allocations: 3.938 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009852/0.1831, allocations: 459.2 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.1837, allocations: 243.5 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.1845, allocations: 162.9 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.1849, allocations: 163.6 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.185, allocations: 20.17 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1853, allocations: 103.8 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.1857, allocations: 203.6 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1857, allocations: 0 / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1859, allocations: 27.98 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.1861, allocations: 83.69 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1863, allocations: 107 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.1866, allocations: 180.1 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1866, allocations: 7.922 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1867, allocations: 0 / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1867, allocations: 0 / 473 MB, free: 10.98 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.001051/0.1877, allocations: 0.6326 MB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1878, allocations: 8.031 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1879, allocations: 44.38 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.1885, allocations: 300.1 kB / 474 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1885, allocations: 4.375 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1885, allocations: 4.375 kB / 474 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1887, allocations: 57.61 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1888, allocations: 4 kB / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1888, allocations: 3.938 kB / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1888, allocations: 0 / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.189, allocations: 27.98 kB / 474.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.1897, allocations: 392.7 kB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.1901, allocations: 46.48 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.1901, allocations: 20.94 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1902, allocations: 0 / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1902, allocations: 34.56 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1902, allocations: 0 / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009165/0.1912, allocations: 236 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.1912, allocations: 55.41 kB / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.1925, allocations: 0.8651 MB / 475.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1925, allocations: 25.7 kB / 475.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.1928, allocations: 224.1 kB / 476 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1928, allocations: 11.81 kB / 476 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.1929, allocations: 25.7 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1931, allocations: 362.8 kB / 476.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1932, allocations: 19.98 kB / 476.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/0.1933, allocations: 19.98 kB / 476.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1935, allocations: 56.81 kB / 476.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1936, allocations: 3.938 kB / 476.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003066/0.1939, allocations: 125.3 kB / 476.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1939, allocations: 4 kB / 476.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1939, allocations: 0 / 476.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1939, allocations: 4 kB / 476.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.194, allocations: 15.98 kB / 476.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1941, allocations: 0 / 476.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.1942, allocations: 7.938 kB / 476.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1942, allocations: 0 / 476.6 MB, free: 7.16 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 (5): * Single equations (assignments): 5 * 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.0002636/0.1944, allocations: 226.2 kB / 476.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.1945, allocations: 35.53 kB / 476.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.1949, allocations: 141 kB / 477 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.195, allocations: 4 kB / 477 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.195, allocations: 0 / 477 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.195, allocations: 3.938 kB / 477 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.1957, allocations: 470.3 kB / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.1958, allocations: 0 / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.1958, allocations: 11.94 kB / 477.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1959, allocations: 4 kB / 477.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1959, allocations: 11.92 kB / 477.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1959, allocations: 0 / 477.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1959, allocations: 0 / 477.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1963, allocations: 211.1 kB / 477.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1964, allocations: 112.5 kB / 477.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.1964, allocations: 3.938 kB / 477.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1966, allocations: 8 kB / 477.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1966, allocations: 3.984 kB / 477.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.1967, allocations: 4.188 kB / 477.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009871/0.1976, allocations: 0.6472 MB / 478.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1977, allocations: 4 kB / 478.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.1981, allocations: 16 kB / 478.5 MB, free: 5.16 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 (5): * Single equations (assignments): 5 * 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.001336/0.1994, allocations: 407 kB / 478.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.1997, allocations: 51.95 kB / 478.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1997, allocations: 0 / 478.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1999, allocations: 23.98 kB / 479 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2005, allocations: 31.78 kB / 479 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.2022, allocations: 0.904 MB / 479.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/0.203, allocations: 0.8262 MB / 480.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.203, allocations: 11.44 kB / 480.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.203, allocations: 0 / 480.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of Templates: time 0.0108/0.2138, allocations: 3.715 MB / 484.4 MB, free: 15.29 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches