Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007722/0.0007722, allocations: 97.09 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.000827/0.000827, allocations: 177.5 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.5581/0.5581, allocations: 43.58 MB / 315 MB, free: 8.832 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.0005815/0.0005815, allocations: 20 kB / 384.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1792, allocations: 58.86 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00253/0.1818, allocations: 1.414 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1833, allocations: 0.7731 MB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.1834, allocations: 3.938 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.1838, allocations: 31.89 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.184, allocations: 43.83 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1843, allocations: 83.84 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1845, allocations: 91.7 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1846, allocations: 12.22 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.1847, allocations: 43.77 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.1848, allocations: 27.8 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1849, allocations: 4 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.185, allocations: 43.91 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.1851, allocations: 15.92 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.1851, allocations: 57.45 kB / 446.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1854, allocations: 115.9 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.1854, allocations: 4 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1854, allocations: 0 / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1854, allocations: 0 / 446.2 MB, free: 9.879 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007768/0.1862, allocations: 399 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1862, allocations: 8.031 kB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1863, allocations: 8.844 kB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1866, allocations: 212 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1867, allocations: 8.375 kB / 446.8 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.1867, allocations: 8.125 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1869, allocations: 53.67 kB / 446.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1869, allocations: 3.984 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.187, allocations: 0 / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.187, allocations: 3.938 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.1871, allocations: 23.92 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.1875, allocations: 280.9 kB / 447.2 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1877, allocations: 62.67 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.1878, allocations: 20.84 kB / 447.3 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1878, allocations: 4 kB / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1881, allocations: 71.23 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1881, allocations: 4 kB / 447.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.1887, allocations: 161.3 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.1888, allocations: 55.39 kB / 447.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.189, allocations: 186.2 kB / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.189, allocations: 25.7 kB / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.1891, allocations: 104.1 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1891, allocations: 27.69 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1892, allocations: 17.72 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1893, allocations: 330.8 kB / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.1894, allocations: 16 kB / 448.3 MB, free: 7.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.1895, allocations: 37.7 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1896, allocations: 61.64 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1896, allocations: 0 / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1898, allocations: 101.8 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1898, allocations: 8.031 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1898, allocations: 7.875 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1899, allocations: 0 / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.19, allocations: 16 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.19, allocations: 0 / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.19, allocations: 15.92 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.19, allocations: 0 / 448.5 MB, free: 7.348 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 (10): * Single equations (assignments): 10 * 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.0001233/0.1902, allocations: 125.8 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.1902, allocations: 8.281 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.1902, allocations: 20.7 kB / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1903, allocations: 0 / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1903, allocations: 4 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.1903, allocations: 7.938 kB / 448.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.1908, allocations: 391.2 kB / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1908, allocations: 0 / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.1908, allocations: 19.86 kB / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1908, allocations: 4.031 kB / 449.1 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1909, allocations: 7.938 kB / 449.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1909, allocations: 0 / 449.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1909, allocations: 0 / 449.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1911, allocations: 196.3 kB / 449.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.1912, allocations: 96.91 kB / 449.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1912, allocations: 7.938 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.1913, allocations: 4 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.1914, allocations: 7.984 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1914, allocations: 8 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1915, allocations: 140.1 kB / 449.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1915, allocations: 3.938 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1918, allocations: 23.98 kB / 449.6 MB, free: 6.191 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 (8): * Single equations (assignments): 6 * 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.001252/0.1931, allocations: 466.3 kB / 450 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1933, allocations: 63.91 kB / 450.1 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1933, allocations: 3.938 kB / 450.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.1933, allocations: 23.98 kB / 450.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1937, allocations: 40.33 kB / 450.1 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.1942, allocations: 242.7 kB / 450.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1946, allocations: 0.7082 MB / 451.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.1946, allocations: 12.88 kB / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.1947, allocations: 19.44 kB / 451.1 MB, free: 4.605 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1947, allocations: 0 / 451.1 MB, free: 4.605 MB / 382.1 MB Notification: Performance of Templates: time 0.005011/0.1997, allocations: 1.607 MB / 452.7 MB, free: 3 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches