Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001003/0.001003, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.261/0.261, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.12 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1734, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004024/0.1775, allocations: 1.703 MB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1793, allocations: 0.8769 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1794, allocations: 3.938 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.1799, allocations: 35.78 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.1803, allocations: 55.69 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1807, allocations: 119.4 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.1809, allocations: 95.69 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1811, allocations: 8.234 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1812, allocations: 47.77 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1813, allocations: 27.86 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1813, allocations: 4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1814, allocations: 39.98 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.1815, allocations: 27.91 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.1816, allocations: 31.75 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1819, allocations: 111.6 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1819, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1819, allocations: 3.938 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1819, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.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.0007781/0.1827, allocations: 407 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.1828, allocations: 12.03 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.1829, allocations: 8.844 kB / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.1833, allocations: 216 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1833, allocations: 384 / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.1834, allocations: 8.125 kB / 474.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.1836, allocations: 57.66 kB / 474.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.1836, allocations: 4 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1836, allocations: 3.938 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1837, allocations: 0 / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.1838, allocations: 19.98 kB / 474.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.1843, allocations: 288.9 kB / 474.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1845, allocations: 58.67 kB / 474.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.1846, allocations: 24.73 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.1846, allocations: 0 / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.1848, allocations: 71.39 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1848, allocations: 0 / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006121/0.1854, allocations: 169.2 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1855, allocations: 51.41 kB / 475.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.1857, allocations: 190.2 kB / 475.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1857, allocations: 29.7 kB / 475.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1858, allocations: 100.1 kB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.1858, allocations: 23.66 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.1859, allocations: 29.7 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1861, allocations: 326.8 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.1861, allocations: 16 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.1862, allocations: 41.64 kB / 476 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1864, allocations: 65.62 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1864, allocations: 0 / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1866, allocations: 109.5 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1866, allocations: 4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1866, allocations: 3.984 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1866, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.1867, allocations: 16 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1867, allocations: 0 / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.1868, allocations: 7.938 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1868, allocations: 4 kB / 476.2 MB, free: 7.879 MB / 350.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.0001386/0.187, allocations: 129.9 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.187, allocations: 7.906 kB / 476.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.187, allocations: 16.7 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1871, allocations: 3.938 kB / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1871, allocations: 0 / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1871, allocations: 7.938 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.1876, allocations: 383.8 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1876, allocations: 3.938 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.1876, allocations: 12.03 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1876, allocations: 4 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1876, allocations: 11.92 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1876, allocations: 3.938 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1877, allocations: 0 / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1879, allocations: 200.2 kB / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.188, allocations: 85.02 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.188, allocations: 11.94 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1881, allocations: 4 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1881, allocations: 11.92 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1881, allocations: 4 kB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1883, allocations: 143.2 kB / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1883, allocations: 0 / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1886, allocations: 24 kB / 477.2 MB, free: 6.723 MB / 350.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.001326/0.1899, allocations: 466.1 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1901, allocations: 55.91 kB / 477.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1901, allocations: 3.938 kB / 477.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1902, allocations: 35.97 kB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1906, allocations: 39.52 kB / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.1911, allocations: 231.1 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1915, allocations: 0.7002 MB / 478.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.1916, allocations: 12.89 kB / 478.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1916, allocations: 19.42 kB / 478.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1916, allocations: 0 / 478.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of Templates: time 0.004812/0.1965, allocations: 1.693 MB / 480.5 MB, free: 3.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches