Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.002098/0.002098, allocations: 199 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.765/2.765, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.4429/0.4429, allocations: 43.52 MB / 314.8 MB, free: 468 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.002009/0.002009, allocations: 71.88 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1751, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.004938/0.1802, allocations: 1.543 MB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1823, allocations: 0.9378 MB / 0.491 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.1824, allocations: 4 kB / 0.491 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1828, allocations: 27.84 kB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1832, allocations: 43.77 kB / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.1835, allocations: 71.84 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1838, allocations: 55.84 kB / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1839, allocations: 23.91 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.184, allocations: 19.92 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1843, allocations: 23.92 kB / 0.4912 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1843, allocations: 3.938 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1845, allocations: 55.95 kB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.07e-05/0.1846, allocations: 4 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.1846, allocations: 23.81 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.185, allocations: 87.77 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.185, allocations: 4 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.185, allocations: 0 / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.185, allocations: 0 / 0.4914 GB, free: 8.863 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.000683/0.1857, allocations: 390.6 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.1858, allocations: 15.89 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.1859, allocations: 0.9375 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.1862, allocations: 188.2 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1862, allocations: 4.375 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.1862, allocations: 384 / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1865, allocations: 67.47 kB / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.1866, allocations: 0 / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1866, allocations: 4 kB / 0.492 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.1866, allocations: 4 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1868, allocations: 23.97 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.1873, allocations: 272.9 kB / 0.4923 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1876, allocations: 42.5 kB / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.1877, allocations: 20.86 kB / 0.4924 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.1878, allocations: 0 / 0.4924 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.1878, allocations: 34.56 kB / 0.4924 GB, free: 7.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.582e-06/0.1878, allocations: 0 / 0.4924 GB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007738/0.1886, allocations: 141.4 kB / 0.4926 GB, free: 7.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.1887, allocations: 81.09 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1889, allocations: 133.8 kB / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1889, allocations: 25.7 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.189, allocations: 96.03 kB / 0.4929 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.189, allocations: 15.75 kB / 0.4929 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.1891, allocations: 21.7 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1892, allocations: 322.8 kB / 0.4932 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.1893, allocations: 15.92 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1894, allocations: 41.64 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1896, allocations: 49.02 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1896, allocations: 0 / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000243/0.1899, allocations: 77.58 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1899, allocations: 4 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1899, allocations: 0 / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.19, allocations: 4.031 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.1901, allocations: 15.98 kB / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1901, allocations: 0 / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.1902, allocations: 11.98 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1902, allocations: 0 / 0.4934 GB, free: 6.543 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.0001183/0.1903, allocations: 129.6 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.1904, allocations: 4 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1906, allocations: 89.53 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1907, allocations: 4 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1907, allocations: 0 / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1907, allocations: 0 / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1912, allocations: 346.4 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1913, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.1913, allocations: 12 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1914, allocations: 0 / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1914, allocations: 7.984 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.1914, allocations: 4.125 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.1914, allocations: 7.984 kB / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.1917, allocations: 171.5 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.1918, allocations: 85.02 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1918, allocations: 0 / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.1919, allocations: 11.92 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.192, allocations: 4 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.192, allocations: 8 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1921, allocations: 103.8 kB / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1921, allocations: 0 / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.1925, allocations: 20 kB / 0.4944 GB, free: 5.445 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.00146/0.1939, allocations: 454.3 kB / 0.4948 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.1942, allocations: 43.97 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1942, allocations: 0 / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.1943, allocations: 27.92 kB / 0.4949 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1948, allocations: 23.78 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.1954, allocations: 187.1 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1957, allocations: 0.6885 MB / 0.4958 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.1958, allocations: 11.44 kB / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1958, allocations: 0 / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of Templates: time 0.005664/0.2015, allocations: 1.544 MB / 0.4973 GB, free: 2.461 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches