Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 185.9 kB / 16.92 MB, free: 6.934 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.884/1.884, allocations: 205.4 MB / 223.1 MB, free: 5.734 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.488/0.488, allocations: 43.58 MB / 315 MB, free: 8.781 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.0005376/0.0005376, allocations: 22.95 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1792, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003126/0.1824, allocations: 1.558 MB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1844, allocations: 0.8664 MB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.1846, allocations: 3.938 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.1852, allocations: 147.7 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.1857, allocations: 131.6 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.1864, allocations: 131.8 kB / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.1869, allocations: 203.4 kB / 446.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1871, allocations: 29.52 kB / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1874, allocations: 91.61 kB / 446.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1876, allocations: 119.5 kB / 446.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1876, allocations: 0 / 446.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.1879, allocations: 43.98 kB / 446.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.188, allocations: 51.83 kB / 446.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1881, allocations: 89.19 kB / 446.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.1886, allocations: 195.5 kB / 447.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.1886, allocations: 0 / 447.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1886, allocations: 0 / 447.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1886, allocations: 4 kB / 447.1 MB, free: 9.008 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001026/0.1896, allocations: 494.3 kB / 447.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/0.1897, allocations: 16.02 kB / 447.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.1898, allocations: 24.56 kB / 447.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.1902, allocations: 263.6 kB / 447.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.1903, allocations: 4.375 kB / 447.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.1903, allocations: 8.125 kB / 447.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.1906, allocations: 103.3 kB / 448 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1906, allocations: 0 / 448 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1906, allocations: 7.984 kB / 448 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1907, allocations: 0 / 448 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1908, allocations: 43.91 kB / 448 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.1915, allocations: 433 kB / 448.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.1918, allocations: 121.3 kB / 448.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.1919, allocations: 37.7 kB / 448.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.192, allocations: 11.98 kB / 448.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.1923, allocations: 120.8 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1923, allocations: 0 / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001055/0.1934, allocations: 344.2 kB / 449.1 MB, free: 6.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.1935, allocations: 92.98 kB / 449.2 MB, free: 6.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.1939, allocations: 351 kB / 449.5 MB, free: 6.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.194, allocations: 29.7 kB / 449.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1941, allocations: 136.4 kB / 449.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.1942, allocations: 55.33 kB / 449.7 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.1942, allocations: 17.72 kB / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1944, allocations: 338.8 kB / 450.1 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1945, allocations: 43.97 kB / 450.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1946, allocations: 71.41 kB / 450.2 MB, free: 5.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1949, allocations: 123.5 kB / 450.3 MB, free: 5.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1949, allocations: 0 / 450.3 MB, free: 5.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003315/0.1952, allocations: 185.2 kB / 450.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1952, allocations: 4 kB / 450.5 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1953, allocations: 4 kB / 450.5 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.1953, allocations: 0 / 450.5 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1954, allocations: 36.67 kB / 450.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1955, allocations: 3.938 kB / 450.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.1956, allocations: 8 kB / 450.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1956, allocations: 8 kB / 450.6 MB, free: 5.262 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001885/0.1958, allocations: 157.8 kB / 450.7 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1958, allocations: 23.72 kB / 450.7 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.284e-05/0.1959, allocations: 33.73 kB / 450.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1959, allocations: 4 kB / 450.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.1959, allocations: 7.938 kB / 450.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1959, allocations: 0 / 450.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007707/0.1967, allocations: 0.6241 MB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1967, allocations: 3.938 kB / 451.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.1968, allocations: 16 kB / 451.4 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.1968, allocations: 4 kB / 451.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1968, allocations: 3.984 kB / 451.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1968, allocations: 7.938 kB / 451.4 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1968, allocations: 0 / 451.4 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.1973, allocations: 367.8 kB / 451.8 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/0.1974, allocations: 100.8 kB / 451.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.1974, allocations: 7.984 kB / 451.9 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1975, allocations: 8 kB / 451.9 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.1976, allocations: 11.98 kB / 451.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1976, allocations: 15.98 kB / 451.9 MB, free: 3.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002638/0.1979, allocations: 257.9 kB / 452.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1979, allocations: 0 / 452.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1982, allocations: 43.98 kB / 452.2 MB, free: 3.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001272/0.1995, allocations: 481.1 kB / 452.7 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1999, allocations: 111.9 kB / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1999, allocations: 0 / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2, allocations: 59.91 kB / 452.9 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.2006, allocations: 56.77 kB / 452.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008231/0.2014, allocations: 493.6 kB / 453.4 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2018, allocations: 0.7518 MB / 454.2 MB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.202, allocations: 30.55 kB / 454.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.202, allocations: 27.44 kB / 454.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.202, allocations: 0 / 454.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of Templates: time 0.2899/0.4919, allocations: 2.519 MB / 456.7 MB, free: 45.44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches