Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008637/0.008637, allocations: 104.9 kB / 15.87 MB, free: 6.25 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.0021/0.002101, allocations: 196.2 kB / 16.79 MB, free: 6.18 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.715/1.715, 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.5003/0.5003, allocations: 43.49 MB / 313.5 MB, free: 8.535 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.001465/0.001465, allocations: 59.91 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1703, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.00363/0.174, allocations: 1.622 MB / 441.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1756, allocations: 0.9181 MB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.1757, allocations: 0 / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.176, allocations: 23.91 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1762, allocations: 31.91 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1764, allocations: 83.84 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1766, allocations: 55.89 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1768, allocations: 19.97 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.1768, allocations: 23.81 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.177, allocations: 27.89 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.177, allocations: 0 / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1772, allocations: 47.92 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.1772, allocations: 8 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.1773, allocations: 19.86 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1775, allocations: 91.98 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1775, allocations: 0 / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1775, allocations: 0 / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1775, allocations: 0 / 442.8 MB, free: 11.85 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.0005964/0.1782, allocations: 387.1 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1782, allocations: 12.02 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1783, allocations: 4.938 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1785, allocations: 184.2 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1785, allocations: 384 / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1785, allocations: 4.281 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1788, allocations: 71.52 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1788, allocations: 4 kB / 443.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1788, allocations: 0 / 443.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1788, allocations: 0 / 443.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.1789, allocations: 23.92 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1793, allocations: 284.9 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1796, allocations: 46.56 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.1797, allocations: 16.94 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1797, allocations: 0 / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1797, allocations: 42.5 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1797, allocations: 0 / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005524/0.1803, allocations: 137.4 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.1804, allocations: 89.03 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1805, allocations: 129.8 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1805, allocations: 25.7 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.1806, allocations: 104 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1806, allocations: 7.812 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1807, allocations: 25.7 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1808, allocations: 318.8 kB / 444.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.1808, allocations: 23.98 kB / 444.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.1809, allocations: 37.88 kB / 444.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1811, allocations: 52.83 kB / 444.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1811, allocations: 0 / 444.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.1813, allocations: 93.55 kB / 444.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1813, allocations: 4 kB / 444.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1813, allocations: 3.938 kB / 444.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1813, allocations: 3.984 kB / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.1814, allocations: 12 kB / 444.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1814, allocations: 0 / 444.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.1815, allocations: 7.984 kB / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1815, allocations: 0 / 444.9 MB, free: 9.496 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 0.0001003/0.1816, allocations: 121.8 kB / 445 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1816, allocations: 8 kB / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.1819, allocations: 97.55 kB / 445.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1819, allocations: 0 / 445.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1819, allocations: 0 / 445.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1819, allocations: 7.938 kB / 445.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1824, allocations: 350.4 kB / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1824, allocations: 4 kB / 445.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.1825, allocations: 16.17 kB / 445.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1825, allocations: 0 / 445.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1825, allocations: 8 kB / 445.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1825, allocations: 7.875 kB / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1825, allocations: 0 / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1827, allocations: 179.5 kB / 445.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1828, allocations: 81.02 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1828, allocations: 4 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.1829, allocations: 7.938 kB / 445.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.183, allocations: 7.984 kB / 445.8 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.183, allocations: 4 kB / 445.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.1831, allocations: 99.27 kB / 445.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1831, allocations: 0 / 445.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1833, allocations: 23.98 kB / 445.9 MB, free: 8.383 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.001102/0.1844, allocations: 456.1 kB / 446.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1847, allocations: 51.91 kB / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1847, allocations: 0 / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.1848, allocations: 27.98 kB / 446.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1851, allocations: 15.98 kB / 446.4 MB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.1855, allocations: 183.2 kB / 446.6 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1859, allocations: 0.6925 MB / 447.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.806e-05/0.1859, allocations: 15.98 kB / 447.3 MB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.186, allocations: 15.42 kB / 447.3 MB, free: 6.922 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.186, allocations: 4 kB / 447.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of Templates: time 0.003969/0.19, allocations: 1.311 MB / 448.7 MB, free: 5.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches