Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 103.1 kB / 15.98 MB, free: 6.355 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.001537/0.001537, allocations: 190.6 kB / 16.91 MB, free: 6.191 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.82/1.82, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.4901/0.4901, allocations: 43.5 MB / 313.6 MB, free: 8.516 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.002862/0.002861, allocations: 67.91 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1738, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.0042/0.1781, allocations: 1.976 MB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1797, allocations: 0.8196 MB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1798, allocations: 4 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.1803, allocations: 31.83 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1806, allocations: 51.77 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1809, allocations: 95.77 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1811, allocations: 147.5 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1813, allocations: 25.77 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1814, allocations: 55.77 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1815, allocations: 47.72 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1815, allocations: 8 kB / 443.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1817, allocations: 43.98 kB / 443.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.1817, allocations: 35.84 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.1818, allocations: 59.61 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1821, allocations: 139.5 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1821, allocations: 0 / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1821, allocations: 0 / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1821, allocations: 0 / 443.5 MB, free: 11.17 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007294/0.1829, allocations: 483.9 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1829, allocations: 15.89 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.183, allocations: 16.75 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1832, allocations: 224.8 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1833, allocations: 4.375 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1833, allocations: 12.12 kB / 444.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1836, allocations: 108.2 kB / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1836, allocations: 0 / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1836, allocations: 0 / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1836, allocations: 11.94 kB / 444.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1838, allocations: 47.97 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.1844, allocations: 0.5164 MB / 445 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1848, allocations: 82.66 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.1849, allocations: 36.84 kB / 445.1 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1849, allocations: 7.969 kB / 445.1 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.1852, allocations: 91.31 kB / 445.2 MB, free: 9.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1852, allocations: 0 / 445.2 MB, free: 9.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004086/0.1856, allocations: 141.4 kB / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1857, allocations: 59.34 kB / 445.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1859, allocations: 187.5 kB / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1859, allocations: 25.7 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.186, allocations: 119.9 kB / 445.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.186, allocations: 31.7 kB / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1861, allocations: 21.72 kB / 445.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1862, allocations: 330.8 kB / 446.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.1863, allocations: 27.98 kB / 446.1 MB, free: 8.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1865, allocations: 60.22 kB / 446.1 MB, free: 8.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1867, allocations: 100.2 kB / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1867, allocations: 0 / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002586/0.1869, allocations: 137.4 kB / 446.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.187, allocations: 8 kB / 446.4 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.187, allocations: 4 kB / 446.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.187, allocations: 4 kB / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1871, allocations: 31.86 kB / 446.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1871, allocations: 4 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.1872, allocations: 11.84 kB / 446.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1872, allocations: 8.453 kB / 446.5 MB, free: 7.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001174/0.1874, allocations: 125.9 kB / 446.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1874, allocations: 15.81 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.1874, allocations: 21.39 kB / 446.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1875, allocations: 3.938 kB / 446.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1875, allocations: 3.938 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1875, allocations: 3.938 kB / 446.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.1877, allocations: 205.6 kB / 446.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1877, allocations: 4 kB / 446.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.1878, allocations: 15.94 kB / 446.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1878, allocations: 3.984 kB / 446.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1878, allocations: 4 kB / 446.9 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1878, allocations: 7.938 kB / 446.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1878, allocations: 0 / 446.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1882, allocations: 176.8 kB / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.1883, allocations: 88.98 kB / 447.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1883, allocations: 3.984 kB / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.1884, allocations: 16 kB / 447.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1884, allocations: 7.984 kB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1884, allocations: 4 kB / 447.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1886, allocations: 137.2 kB / 447.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1886, allocations: 0 / 447.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1888, allocations: 24 kB / 447.3 MB, free: 7.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001057/0.1899, allocations: 414.2 kB / 447.7 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.1902, allocations: 95.77 kB / 447.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1902, allocations: 0 / 447.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1903, allocations: 39.92 kB / 447.8 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1907, allocations: 39.81 kB / 447.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.1913, allocations: 304.3 kB / 448.2 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1917, allocations: 0.7162 MB / 448.9 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.1917, allocations: 17.78 kB / 448.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.1918, allocations: 23.42 kB / 448.9 MB, free: 5.367 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1918, allocations: 0 / 448.9 MB, free: 5.367 MB / 382.1 MB Notification: Performance of Templates: time 0.004923/0.1967, allocations: 1.833 MB / 450.8 MB, free: 3.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches