Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009915/0.009915, allocations: 100.4 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.001496/0.001496, allocations: 195.4 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 2.007/2.007, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4346/0.4346, allocations: 43.5 MB / 313.5 MB, free: 8.219 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.00144/0.00144, allocations: 70.55 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1769, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003597/0.1806, allocations: 1.76 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1821, allocations: 0.7924 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.1822, allocations: 7.938 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.1826, allocations: 39.88 kB / 442.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1828, allocations: 43.83 kB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1831, allocations: 79.84 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1833, allocations: 87.75 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1834, allocations: 24.16 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.1835, allocations: 35.8 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1837, allocations: 39.77 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1837, allocations: 0 / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1838, allocations: 39.92 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.1839, allocations: 19.92 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.184, allocations: 27.8 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1842, allocations: 119.8 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.1842, allocations: 4 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1842, allocations: 4 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1842, allocations: 4 kB / 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.0008673/0.1851, allocations: 410.9 kB / 443.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1852, allocations: 8.031 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.1852, allocations: 12.84 kB / 443.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1856, allocations: 208.7 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1856, allocations: 4.375 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1856, allocations: 4.125 kB / 443.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.1859, allocations: 53.67 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1859, allocations: 8 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1859, allocations: 0 / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.1859, allocations: 0 / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.186, allocations: 27.91 kB / 443.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1865, allocations: 284.9 kB / 443.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1867, allocations: 58.67 kB / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.1867, allocations: 16.86 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1868, allocations: 11.91 kB / 444 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.187, allocations: 67.39 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.187, allocations: 3.938 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.1876, allocations: 173.2 kB / 444.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1877, allocations: 59.39 kB / 444.3 MB, free: 9.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1879, allocations: 195.3 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.188, allocations: 29.7 kB / 444.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.188, allocations: 96.14 kB / 444.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1881, allocations: 23.7 kB / 444.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.1881, allocations: 21.72 kB / 444.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1883, allocations: 330.8 kB / 445 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.1883, allocations: 19.98 kB / 445 MB, free: 9.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.1884, allocations: 37.7 kB / 445.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1885, allocations: 61.64 kB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1885, allocations: 0 / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.1887, allocations: 110 kB / 445.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1887, allocations: 4 kB / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1888, allocations: 3.938 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1888, allocations: 8.031 kB / 445.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.1889, allocations: 19.98 kB / 445.3 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1889, allocations: 0 / 445.3 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.189, allocations: 7.938 kB / 445.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.189, allocations: 0 / 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.0001797/0.1892, allocations: 133.8 kB / 445.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1892, allocations: 7.906 kB / 445.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.1892, allocations: 21.39 kB / 445.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1892, allocations: 0 / 445.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.1893, allocations: 4 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1893, allocations: 7.875 kB / 445.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.1898, allocations: 391.3 kB / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1898, allocations: 0 / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1899, allocations: 11.94 kB / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1899, allocations: 0 / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1899, allocations: 11.92 kB / 445.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1899, allocations: 0 / 445.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1899, allocations: 4.031 kB / 445.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1901, allocations: 200.5 kB / 446 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.1902, allocations: 88.92 kB / 446.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1902, allocations: 7.875 kB / 446.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.1903, allocations: 8 kB / 446.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.1904, allocations: 11.92 kB / 446.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1904, allocations: 8 kB / 446.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1905, 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.1905, allocations: 0 / 446.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1908, 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.001111/0.1919, allocations: 470.1 kB / 446.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1921, allocations: 59.92 kB / 446.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1921, allocations: 0 / 446.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.1922, allocations: 23.98 kB / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1926, allocations: 27.98 kB / 446.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.1931, allocations: 257 kB / 447.2 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1934, allocations: 0.7043 MB / 447.9 MB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.071e-05/0.1935, allocations: 29.16 kB / 447.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1935, allocations: 15.44 kB / 447.9 MB, free: 6.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1936, allocations: 0 / 447.9 MB, free: 6.129 MB / 382.1 MB Notification: Performance of Templates: time 0.005422/0.199, allocations: 1.638 MB / 449.6 MB, free: 4.492 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches