Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 103.7 kB / 16.4 MB, free: 6.512 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.001119/0.001119, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2523/0.2523, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 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.001731/0.001731, allocations: 70.03 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1762, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.0034/0.1797, allocations: 1.542 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006463/0.1804, allocations: 323.5 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.1804, allocations: 0 / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1808, allocations: 107.7 kB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1811, allocations: 71.78 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1814, allocations: 79.72 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1816, allocations: 71.86 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1817, allocations: 19.98 kB / 0.49 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.1818, allocations: 39.83 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.182, allocations: 63.81 kB / 0.4901 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.182, allocations: 4 kB / 0.4901 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.1821, allocations: 27.98 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1821, allocations: 23.92 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.1822, allocations: 31.69 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1824, allocations: 95.58 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1824, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1824, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1825, allocations: 4 kB / 0.4903 GB, free: 9.258 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.0005637/0.183, allocations: 418.7 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1831, allocations: 11.89 kB / 0.4907 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.1831, allocations: 16.84 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1834, allocations: 204.1 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1834, allocations: 4.359 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1834, allocations: 4.375 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1836, allocations: 53.8 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1836, allocations: 4 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1836, allocations: 0 / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1836, allocations: 0 / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.1837, allocations: 19.98 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.1842, allocations: 288.8 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1844, allocations: 42.56 kB / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.1844, allocations: 16.86 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1845, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1845, allocations: 38.64 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1845, allocations: 0 / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005819/0.1851, allocations: 145.3 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1851, allocations: 55.41 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1854, allocations: 246.6 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1854, allocations: 29.64 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.1855, allocations: 108.1 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.1856, allocations: 15.86 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.1856, allocations: 13.72 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1858, allocations: 330.8 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.1858, allocations: 23.98 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.627e-05/0.1859, allocations: 16.17 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.186, allocations: 48.83 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1861, allocations: 0 / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.1862, allocations: 81.56 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1863, allocations: 8 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1863, allocations: 3.984 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1863, allocations: 4 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.1864, allocations: 11.94 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1864, allocations: 4 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.1864, allocations: 3.984 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1864, allocations: 4 kB / 0.4925 GB, free: 6.801 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.0001195/0.1866, allocations: 141.6 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.1866, allocations: 11.91 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.1868, allocations: 98.66 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1869, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1869, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1869, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.1873, allocations: 362.4 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1873, allocations: 0 / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.1874, allocations: 12.17 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1874, allocations: 4 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.1874, allocations: 8 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1874, allocations: 3.938 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1874, allocations: 0 / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1877, allocations: 179.4 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.1877, allocations: 89.05 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1877, allocations: 0 / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.1878, allocations: 15.94 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.1879, allocations: 7.984 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1879, allocations: 0 / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.188, allocations: 175.2 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1881, allocations: 0 / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1883, allocations: 23.92 kB / 0.4936 GB, free: 5.582 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.0009619/0.1893, allocations: 408.6 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1895, allocations: 55.89 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1895, allocations: 0 / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-05/0.1896, allocations: 23.98 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1899, allocations: 11.86 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.1904, allocations: 258 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1907, allocations: 0.708 MB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.175e-05/0.1908, allocations: 7.984 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.1908, allocations: 19.42 kB / 0.495 GB, free: 4.086 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1908, allocations: 0 / 0.495 GB, free: 4.086 MB / 382.1 MB Notification: Performance of Templates: time 0.004389/0.1952, allocations: 1.136 MB / 0.4961 GB, free: 2.953 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches