Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.002669/0.00267, allocations: 190.6 kB / 16.9 MB, free: 6.184 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.599/1.599, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.4173/0.4173, allocations: 43.5 MB / 313.6 MB, free: 8.52 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.001488/0.001488, allocations: 67.91 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1684, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.004104/0.1725, allocations: 1.633 MB / 441.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1743, allocations: 0.9143 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.1744, allocations: 3.938 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1747, allocations: 19.92 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.175, allocations: 43.84 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1752, allocations: 63.8 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1755, allocations: 67.83 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1756, allocations: 16.45 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.1757, allocations: 27.92 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1759, allocations: 35.77 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.176, allocations: 8 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1761, allocations: 47.98 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.1762, allocations: 15.92 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.1762, allocations: 27.86 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1765, allocations: 103.6 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1765, allocations: 0 / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1765, allocations: 0 / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1766, allocations: 0 / 443 MB, free: 11.69 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007612/0.1773, allocations: 387.2 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.1774, allocations: 15.89 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.1775, allocations: 8.844 kB / 443.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1778, allocations: 192.2 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1778, allocations: 4.375 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.1778, allocations: 384 / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.1781, allocations: 79.33 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1781, allocations: 0 / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1781, allocations: 0 / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1781, allocations: 0 / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1783, allocations: 35.97 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1787, allocations: 300.7 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1789, allocations: 46.56 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.1789, allocations: 20.97 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.179, allocations: 8 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.179, allocations: 34.55 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.179, allocations: 3.938 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007491/0.1798, allocations: 169.3 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.1799, allocations: 92.97 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1801, allocations: 145.6 kB / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1801, allocations: 29.7 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.1802, allocations: 88.14 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1802, allocations: 31.55 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.1803, allocations: 21.72 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1804, allocations: 318.8 kB / 445 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.1805, allocations: 23.98 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.1806, allocations: 49.7 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1807, allocations: 56.83 kB / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1807, allocations: 0 / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001957/0.181, allocations: 97.59 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.181, allocations: 4 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.181, allocations: 0 / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.181, allocations: 0 / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1811, allocations: 28.02 kB / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1812, allocations: 0 / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.1812, allocations: 7.938 kB / 445.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1812, allocations: 0 / 445.3 MB, free: 9.195 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 (8): * Single equations (assignments): 8 * 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.0001066/0.1813, allocations: 121.8 kB / 445.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1814, allocations: 7.906 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.1816, allocations: 126.2 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1817, allocations: 0 / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1817, allocations: 4 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1817, allocations: 3.938 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.1821, allocations: 382.5 kB / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1822, allocations: 0 / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.1822, allocations: 19.92 kB / 445.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1822, allocations: 7.938 kB / 445.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1823, allocations: 4 kB / 445.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1823, allocations: 384 / 445.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1823, allocations: 0 / 445.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1825, allocations: 195.4 kB / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.1826, allocations: 81.02 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1826, allocations: 11.94 kB / 446.2 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1827, allocations: 15.92 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1827, allocations: 4 kB / 446.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1827, allocations: 7.984 kB / 446.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.1828, allocations: 111.2 kB / 446.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1828, allocations: 0 / 446.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1831, allocations: 24 kB / 446.4 MB, free: 7.984 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 (8): * Single equations (assignments): 8 * 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.001061/0.1842, allocations: 432 kB / 446.8 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1844, allocations: 71.88 kB / 446.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1844, allocations: 0 / 446.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.1845, allocations: 39.92 kB / 446.9 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1849, allocations: 19.84 kB / 446.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.1853, allocations: 210.2 kB / 447.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1856, allocations: 0.6923 MB / 447.8 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.1857, allocations: 20.64 kB / 447.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1858, allocations: 15.44 kB / 447.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1858, allocations: 0 / 447.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of Templates: time 0.004509/0.1903, allocations: 1.42 MB / 449.3 MB, free: 5.055 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches