Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009235, allocations: 98.69 kB / 17 MB, free: 6.398 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.0009328/0.0009329, allocations: 177.2 kB / 17.89 MB, free: 5.945 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.549/1.549, allocations: 223.3 MB / 241.9 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1951/0.1951, allocations: 44.26 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005792/0.0005792, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1704, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00228/0.1727, allocations: 1.274 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.1735, allocations: 379.6 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.1736, allocations: 0 / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1739, allocations: 91.8 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1741, allocations: 55.86 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1744, allocations: 107.4 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1746, allocations: 67.81 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1747, allocations: 16.17 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.1748, allocations: 23.86 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1749, allocations: 47.88 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1749, allocations: 0 / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.34e-05/0.175, allocations: 43.92 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.1751, allocations: 15.92 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.1751, allocations: 45.62 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1753, allocations: 71.84 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1753, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.1753, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1753, allocations: 3.938 kB / 473.8 MB, free: 11.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005419/0.1759, allocations: 399.2 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1759, allocations: 8.562 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.176, allocations: 15.81 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1763, allocations: 195.6 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1763, allocations: 4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1763, allocations: 0 / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1765, allocations: 57.64 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1765, allocations: 0 / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1766, allocations: 3.984 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1766, allocations: 0 / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.1767, allocations: 39.91 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.1772, allocations: 312.7 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1773, allocations: 42.5 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.1774, allocations: 28.94 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1774, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1775, allocations: 30.56 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1775, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009688/0.1784, allocations: 277.1 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1785, allocations: 51.41 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1787, allocations: 231.2 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1788, allocations: 25.7 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.1789, allocations: 112 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1789, allocations: 23.7 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.1789, allocations: 0 / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1791, allocations: 326.8 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.1791, allocations: 35.98 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.1792, allocations: 35.97 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.1793, allocations: 35.98 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1793, allocations: 0 / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002117/0.1796, allocations: 129.4 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1796, allocations: 6.5 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1796, allocations: 4 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1796, allocations: 0 / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1798, allocations: 19.98 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1798, allocations: 4 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.1798, allocations: 7.984 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1799, allocations: 7.938 kB / 476.2 MB, free: 8.812 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 (8): * Single equations (assignments): 8 * 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 0.0001443/0.18, allocations: 137.7 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.18, allocations: 11.84 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.1803, allocations: 143 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1804, allocations: 0 / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1804, allocations: 0 / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1804, allocations: 3.984 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1809, allocations: 431.3 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1809, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.181, allocations: 19.98 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.181, allocations: 0 / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.181, allocations: 4 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.181, allocations: 3.938 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1811, allocations: 0 / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1813, allocations: 224.7 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.1814, allocations: 93.28 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1814, allocations: 4 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1815, allocations: 11.98 kB / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.1816, allocations: 4 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1816, allocations: 7.953 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1818, allocations: 171.2 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.182, allocations: 16 kB / 477.5 MB, free: 7.445 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: 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 (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.001306/0.1834, allocations: 461.6 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.1836, allocations: 75.95 kB / 478 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1836, allocations: 4 kB / 478 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.1837, allocations: 47.91 kB / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1841, allocations: 22.73 kB / 478.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/0.1848, allocations: 286.2 kB / 478.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.1853, allocations: 0.716 MB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.771e-05/0.1854, allocations: 20.97 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.1854, allocations: 15.42 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1854, allocations: 0 / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.004774/0.1902, allocations: 1.267 MB / 480.4 MB, free: 4.676 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches