Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 96.67 kB / 16.98 MB, free: 5.938 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.0009647/0.0009649, allocations: 187.9 kB / 17.88 MB, free: 5.594 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.409/1.409, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2199/0.2199, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 8 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.176, allocations: 61.93 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002103/0.1781, allocations: 1.255 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1794, allocations: 0.9337 MB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.1795, allocations: 0 / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1797, allocations: 27.84 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1799, allocations: 35.84 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1801, allocations: 75.58 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1802, allocations: 35.91 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.1803, allocations: 15.98 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.1804, allocations: 11.92 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1805, allocations: 23.86 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1805, allocations: 0 / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.1806, allocations: 31.92 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.1807, allocations: 11.98 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.1807, allocations: 33.64 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1809, allocations: 67.91 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1809, allocations: 0 / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1809, allocations: 3.938 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1809, allocations: 0 / 474 MB, free: 11.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004354/0.1813, allocations: 367.4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1814, allocations: 8.562 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.1814, allocations: 4 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1816, allocations: 190.9 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1816, allocations: 4 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1816, allocations: 11.95 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1818, allocations: 63.34 kB / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1818, allocations: 0 / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1818, allocations: 0 / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1818, allocations: 0 / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.1819, allocations: 27.97 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1823, allocations: 272.9 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1825, allocations: 46.48 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1825, allocations: 0 / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1825, allocations: 42.56 kB / 475 MB, free: 9.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1825, allocations: 0 / 475 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005254/0.1831, allocations: 153.4 kB / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1831, allocations: 81.05 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1833, allocations: 137.8 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1833, allocations: 25.7 kB / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.1834, allocations: 96.08 kB / 475.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1834, allocations: 15.73 kB / 475.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-06/0.1834, allocations: 0 / 475.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1835, allocations: 322.8 kB / 475.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.1836, allocations: 23.98 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.1837, allocations: 33.7 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.1837, allocations: 27.92 kB / 475.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1837, allocations: 32 / 475.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.1839, allocations: 89.86 kB / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1839, allocations: 8 kB / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.184, allocations: 3.984 kB / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.184, allocations: 0 / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.184, allocations: 12 kB / 476 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1841, allocations: 4 kB / 476 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.1841, allocations: 7.984 kB / 476 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1841, allocations: 7.984 kB / 476.1 MB, free: 8.855 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.1842, allocations: 113.8 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1842, allocations: 7.906 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1845, allocations: 101.6 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1845, allocations: 320 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1845, allocations: 0 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1845, allocations: 0 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1849, allocations: 362.5 kB / 476.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1849, allocations: 4 kB / 476.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.185, allocations: 11.98 kB / 476.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.185, allocations: 4 kB / 476.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.185, allocations: 0 / 476.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.185, allocations: 0 / 476.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.185, allocations: 0 / 476.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1853, allocations: 187.4 kB / 476.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1853, allocations: 89 kB / 476.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1853, allocations: 0 / 476.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1854, allocations: 8 kB / 476.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1855, allocations: 7.922 kB / 476.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1855, allocations: 8 kB / 476.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.184e-05/0.1856, allocations: 110.2 kB / 477 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1856, allocations: 0 / 477 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1858, allocations: 23.98 kB / 477.1 MB, free: 7.734 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009352/0.1867, allocations: 452.2 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1869, allocations: 51.97 kB / 477.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.187, allocations: 0 / 477.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.187, allocations: 35.92 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1873, allocations: 19.94 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.1876, allocations: 160.8 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1879, allocations: 0.6926 MB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.188, allocations: 12 kB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.188, allocations: 15.42 kB / 478.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.188, allocations: 0 / 478.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Templates: time 0.003691/0.1917, allocations: 1.276 MB / 479.8 MB, free: 5.152 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches