Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00644/0.00644, allocations: 101.1 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.001554/0.001554, allocations: 193.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.016/2.016, 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.45/0.45, allocations: 43.49 MB / 313.5 MB, free: 8.543 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.001512/0.001513, allocations: 66.56 kB / 382 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1761, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003519/0.1797, allocations: 1.725 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1811, allocations: 0.7729 MB / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1812, allocations: 0 / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.1817, allocations: 55.86 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1819, allocations: 63.8 kB / 442.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1822, allocations: 79.8 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1823, allocations: 91.73 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.1824, allocations: 7.984 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.027e-05/0.1825, allocations: 39.73 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1826, allocations: 47.81 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1826, allocations: 4 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.1827, allocations: 20 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1828, allocations: 23.92 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.1829, allocations: 31.78 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1831, allocations: 99.88 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1831, allocations: 0 / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1831, allocations: 0 / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1831, allocations: 0 / 442.9 MB, free: 11.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007067/0.1838, allocations: 406.9 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1839, allocations: 8.031 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.1839, allocations: 12.84 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1842, allocations: 216 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1842, allocations: 384 / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1843, allocations: 8.125 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1845, allocations: 45.67 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1845, allocations: 0 / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1845, allocations: 7.922 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1845, allocations: 7.938 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.1846, allocations: 15.98 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.1849, allocations: 177.7 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1851, allocations: 50.62 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.1851, allocations: 24.78 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1852, allocations: 4 kB / 443.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1854, allocations: 63.33 kB / 443.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.747e-06/0.1854, allocations: 4 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003246/0.1857, allocations: 93.58 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.1858, allocations: 55.39 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.186, allocations: 178.2 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.186, allocations: 29.7 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.1861, allocations: 100.1 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1861, allocations: 11.81 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.1862, allocations: 25.7 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1863, allocations: 318.8 kB / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.1864, allocations: 15.98 kB / 444.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.1865, allocations: 33.64 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.1866, allocations: 37.72 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1866, allocations: 0 / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001621/0.1867, allocations: 93.45 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1868, allocations: 8.031 kB / 444.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1868, allocations: 320 / 444.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1868, allocations: 4 kB / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.1869, allocations: 11.94 kB / 444.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1869, allocations: 4 kB / 444.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.187, allocations: 11.89 kB / 444.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.187, allocations: 0 / 444.9 MB, free: 9.469 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 (7): * Single equations (assignments): 7 * 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.0001188/0.1871, allocations: 121.8 kB / 445 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.1871, allocations: 7.906 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.1872, allocations: 28.23 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1872, allocations: 0 / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1872, allocations: 0 / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1872, allocations: 0 / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.1874, allocations: 193.5 kB / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1874, allocations: 0 / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.1874, allocations: 4 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1874, allocations: 3.984 kB / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1874, allocations: 0 / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1874, allocations: 0 / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1874, allocations: 0 / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.1876, allocations: 113 kB / 445.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1877, allocations: 88.95 kB / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1877, allocations: 0 / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.1878, allocations: 4 kB / 445.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1878, allocations: 3.984 kB / 445.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1878, allocations: 4 kB / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1879, allocations: 148 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1879, allocations: 4 kB / 445.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.1882, allocations: 19.89 kB / 445.6 MB, free: 8.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001036/0.1892, allocations: 418.4 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1894, allocations: 35.98 kB / 446.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1894, allocations: 3.938 kB / 446.1 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.1895, allocations: 23.92 kB / 446.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.1898, allocations: 35.58 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.1902, allocations: 207.8 kB / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1905, allocations: 0.7004 MB / 447.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.1906, allocations: 20.39 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1906, allocations: 15.44 kB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1906, allocations: 0 / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of Templates: time 0.00432/0.195, allocations: 1.408 MB / 448.5 MB, free: 5.773 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches