Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01127/0.01127, allocations: 100.9 kB / 15.87 MB, free: 6.309 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.00182/0.00182, allocations: 196.2 kB / 16.79 MB, free: 6.238 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.995/1.995, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.4426/0.4426, allocations: 43.49 MB / 313.5 MB, free: 8.23 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.001542/0.001542, allocations: 66.09 kB / 382 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1766, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003613/0.1803, allocations: 1.756 MB / 441.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1817, allocations: 0.7923 MB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.1818, allocations: 0 / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.1821, allocations: 43.81 kB / 442.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1823, allocations: 47.83 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1826, allocations: 79.84 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1827, allocations: 91.75 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1829, allocations: 16.2 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.1829, allocations: 35.8 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.183, allocations: 35.78 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1831, allocations: 0 / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1832, allocations: 43.91 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.1833, allocations: 19.92 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.1833, allocations: 31.81 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.1836, allocations: 115.9 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1836, allocations: 3.938 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1836, allocations: 4 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1836, allocations: 0 / 442.9 MB, free: 11.46 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.0007485/0.1844, allocations: 411 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1844, allocations: 8.031 kB / 443.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.1845, allocations: 12.84 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1848, allocations: 212.6 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1849, allocations: 12.38 kB / 443.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1849, allocations: 4.125 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1851, allocations: 57.67 kB / 443.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1851, allocations: 0 / 443.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1851, allocations: 0 / 443.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1852, allocations: 3.938 kB / 443.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.1852, allocations: 19.98 kB / 443.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.1857, allocations: 284.8 kB / 443.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1859, allocations: 62.67 kB / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.186, allocations: 16.86 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.186, allocations: 0 / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.1863, allocations: 71.38 kB / 444.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1863, allocations: 7.938 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006339/0.187, allocations: 165.2 kB / 444.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.187, allocations: 55.34 kB / 444.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1873, allocations: 207.3 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1873, allocations: 25.7 kB / 444.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.1874, allocations: 104.1 kB / 444.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.1874, allocations: 23.7 kB / 444.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1875, allocations: 21.72 kB / 444.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1876, allocations: 330.8 kB / 445 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.1877, allocations: 23.98 kB / 445 MB, free: 9.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.1878, allocations: 33.7 kB / 445.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1879, allocations: 57.77 kB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1879, allocations: 3.938 kB / 445.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002077/0.1881, allocations: 105.5 kB / 445.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1882, allocations: 4 kB / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1882, allocations: 0 / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1882, allocations: 4.375 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1883, allocations: 19.92 kB / 445.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1883, allocations: 0 / 445.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.1884, allocations: 11.94 kB / 445.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1884, allocations: 4 kB / 445.3 MB, free: 8.895 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.0001284/0.1885, allocations: 133.8 kB / 445.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.1886, allocations: 11.94 kB / 445.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1886, allocations: 21.39 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1886, allocations: 0 / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1887, allocations: 0 / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1887, allocations: 3.938 kB / 445.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.1892, allocations: 395.2 kB / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1892, allocations: 0 / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.1892, allocations: 8.188 kB / 445.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1892, allocations: 4.031 kB / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1893, allocations: 19.86 kB / 445.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1893, allocations: 0 / 445.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1893, allocations: 0 / 445.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1895, allocations: 200.2 kB / 446 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1896, allocations: 88.92 kB / 446.1 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1896, allocations: 7.938 kB / 446.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1897, allocations: 8 kB / 446.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.1898, allocations: 11.92 kB / 446.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1898, allocations: 4 kB / 446.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1899, allocations: 152.9 kB / 446.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1899, allocations: 0 / 446.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1902, allocations: 28 kB / 446.3 MB, free: 7.715 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.001175/0.1914, allocations: 469.2 kB / 446.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1916, allocations: 55.98 kB / 446.9 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1916, allocations: 0 / 446.9 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.1917, allocations: 36.06 kB / 446.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1921, allocations: 28.11 kB / 446.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.1926, allocations: 253 kB / 447.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.193, allocations: 0.7043 MB / 447.9 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.1931, allocations: 16.88 kB / 447.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.1931, allocations: 15.44 kB / 447.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1931, allocations: 0 / 447.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of Templates: time 0.005086/0.1982, allocations: 1.638 MB / 449.5 MB, free: 4.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches