Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 96.14 kB / 15.87 MB, free: 16 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.003292/0.003293, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.761/1.761, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.5033/0.5033, allocations: 43.5 MB / 313.5 MB, free: 8.281 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.001491/0.001491, allocations: 70.56 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1762, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.0036/0.1799, allocations: 1.764 MB / 441.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1819, allocations: 1.375 MB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.182, allocations: 0 / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.1824, allocations: 35.84 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1826, allocations: 51.83 kB / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1829, allocations: 75.84 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.183, allocations: 95.69 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1831, allocations: 16.22 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1833, allocations: 43.77 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1834, allocations: 39.78 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1835, allocations: 4 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1836, allocations: 59.97 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.1836, allocations: 19.92 kB / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.1837, allocations: 39.72 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1839, allocations: 124 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.184, allocations: 0 / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.184, allocations: 0 / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.184, allocations: 0 / 443.6 MB, free: 10.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007034/0.1847, allocations: 422.9 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1847, allocations: 8.031 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1848, allocations: 12.84 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1851, allocations: 212.6 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1851, allocations: 7.938 kB / 444.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1852, allocations: 4 kB / 444.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.1854, allocations: 83.3 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1854, allocations: 0 / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1855, allocations: 0 / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1855, allocations: 0 / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1856, allocations: 35.97 kB / 444.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1861, allocations: 292.8 kB / 444.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1863, allocations: 66.61 kB / 444.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.1864, allocations: 28.84 kB / 444.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.1864, allocations: 4 kB / 444.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.1867, allocations: 79.23 kB / 444.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1867, allocations: 0 / 444.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007832/0.1875, allocations: 197.3 kB / 445 MB, free: 9.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.1876, allocations: 85.05 kB / 445.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1878, allocations: 154.4 kB / 445.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1878, allocations: 29.7 kB / 445.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.1879, allocations: 100.1 kB / 445.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.1879, allocations: 35.55 kB / 445.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1881, allocations: 21.72 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1883, allocations: 318.8 kB / 445.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.1884, allocations: 31.92 kB / 445.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.1885, allocations: 46.56 kB / 445.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1886, allocations: 69.73 kB / 445.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1886, allocations: 4 kB / 445.9 MB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.1889, allocations: 113.5 kB / 446 MB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1889, allocations: 4 kB / 446 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1889, allocations: 3.938 kB / 446 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.1889, allocations: 7.938 kB / 446 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.189, allocations: 15.98 kB / 446 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1891, allocations: 0 / 446 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.1891, allocations: 12.03 kB / 446 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1891, allocations: 4 kB / 446 MB, free: 8.148 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002647/0.1894, allocations: 133.7 kB / 446.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1894, allocations: 7.906 kB / 446.2 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.1895, allocations: 16.66 kB / 446.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1895, allocations: 0 / 446.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1895, allocations: 0 / 446.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1895, allocations: 4 kB / 446.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.1901, allocations: 427.1 kB / 446.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1902, allocations: 3.938 kB / 446.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.1902, allocations: 15.94 kB / 446.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1902, allocations: 0 / 446.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1902, allocations: 0 / 446.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1902, allocations: 4 kB / 446.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1902, allocations: 0 / 446.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1905, allocations: 220.7 kB / 446.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.1906, allocations: 85.02 kB / 446.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1907, allocations: 4 kB / 446.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.1907, allocations: 0 / 446.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1908, allocations: 11.98 kB / 446.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1908, allocations: 4 kB / 446.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1909, allocations: 120 kB / 447 MB, free: 7.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1909, allocations: 0 / 447 MB, free: 7.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1912, allocations: 35.98 kB / 447.1 MB, free: 6.977 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001225/0.1924, allocations: 0.4969 MB / 447.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1927, allocations: 75.83 kB / 447.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1927, allocations: 0 / 447.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.1928, allocations: 35.92 kB / 447.7 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1931, allocations: 28.16 kB / 447.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.1936, allocations: 224.8 kB / 447.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.194, allocations: 0.6965 MB / 448.6 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.211e-05/0.1941, allocations: 32.77 kB / 448.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.1942, allocations: 27.42 kB / 448.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1942, allocations: 3.938 kB / 448.7 MB, free: 5.336 MB / 382.1 MB Notification: Performance of Templates: time 0.005068/0.1992, allocations: 1.976 MB / 450.7 MB, free: 3.363 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches