Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008165/0.0008169, allocations: 97.64 kB / 16.02 MB, free: 80 kB / 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.7 kB / 16.92 MB, free: 6.934 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.929/1.929, allocations: 205.4 MB / 223.1 MB, free: 5.5 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.5006/0.5006, allocations: 43.57 MB / 315 MB, free: 8.785 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.0005864/0.0005864, allocations: 12 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1763, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.001959/0.1783, allocations: 1.271 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006848/0.179, allocations: 315.7 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.179, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1792, allocations: 19.92 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.1794, allocations: 23.86 kB / 445.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1796, allocations: 91.88 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1798, allocations: 55.84 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1799, allocations: 11.98 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.18, allocations: 23.84 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.18, allocations: 15.94 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.18, allocations: 0 / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.1801, allocations: 31.92 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1802, allocations: 7.938 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.1802, allocations: 57.48 kB / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1804, allocations: 76.02 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1804, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1804, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1804, allocations: 0 / 445.4 MB, free: 10.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004508/0.1809, allocations: 379.2 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1809, allocations: 8.031 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.181, allocations: 8.844 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1811, allocations: 184.3 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.1812, allocations: 4.375 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1812, allocations: 8.312 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1813, allocations: 53.81 kB / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1813, allocations: 0 / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1813, allocations: 0 / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1814, allocations: 0 / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.1814, allocations: 27.97 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1818, allocations: 292.9 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.182, allocations: 46.5 kB / 446.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.1821, allocations: 28.86 kB / 446.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1821, allocations: 4 kB / 446.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1822, allocations: 34.56 kB / 446.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1822, allocations: 0 / 446.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000575/0.1827, allocations: 173.2 kB / 446.7 MB, free: 9.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1828, allocations: 51.41 kB / 446.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1829, allocations: 157.3 kB / 446.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.183, allocations: 25.7 kB / 446.9 MB, free: 9.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.183, allocations: 100 kB / 447 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.1831, allocations: 11.75 kB / 447 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1831, allocations: 21.72 kB / 447 MB, free: 8.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1833, allocations: 322.8 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.1833, allocations: 23.98 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.1834, allocations: 23.98 kB / 447.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1836, allocations: 64.75 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1836, allocations: 4 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.1838, allocations: 89.58 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1838, allocations: 4 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.1838, allocations: 4 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1838, allocations: 0 / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.1839, allocations: 15.98 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1839, allocations: 0 / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.184, allocations: 11.98 kB / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.184, allocations: 7.938 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.727e-05/0.1841, allocations: 117.8 kB / 447.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1841, allocations: 11.91 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1844, allocations: 106 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1844, allocations: 0 / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1844, allocations: 0 / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1844, allocations: 3.938 kB / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.1848, allocations: 366.8 kB / 448.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1848, allocations: 0 / 448.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.1849, allocations: 16.06 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1849, allocations: 0 / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1849, allocations: 4 kB / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1849, allocations: 7.875 kB / 448.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1849, allocations: 4 kB / 448.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1852, allocations: 183.4 kB / 448.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.1852, allocations: 93 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1852, allocations: 0 / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.1853, allocations: 11.94 kB / 448.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1854, allocations: 11.92 kB / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1854, allocations: 0 / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.291e-05/0.1855, allocations: 123.2 kB / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1855, allocations: 0 / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1857, allocations: 8 kB / 448.6 MB, free: 7.148 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009792/0.1867, allocations: 417.4 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1869, allocations: 55.97 kB / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1869, allocations: 0 / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.187, allocations: 31.92 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1874, allocations: 19.97 kB / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.1878, allocations: 204.6 kB / 449.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1881, allocations: 0.6965 MB / 450 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.1882, allocations: 15.98 kB / 450 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.1882, allocations: 11.44 kB / 450.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1882, allocations: 0 / 450.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of Templates: time 0.003579/0.1918, allocations: 1.035 MB / 451.1 MB, free: 4.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches