Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 184.7 kB / 16.92 MB, free: 6.934 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.964/1.964, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.4826/0.4826, allocations: 43.56 MB / 315 MB, free: 8.824 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.0005787/0.0005793, allocations: 16 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1803, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.002094/0.1825, allocations: 1.275 MB / 444.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006993/0.1832, allocations: 323.6 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.1833, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1835, allocations: 19.92 kB / 445.1 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1836, allocations: 27.84 kB / 445.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1839, allocations: 91.89 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.184, allocations: 51.84 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1841, allocations: 11.98 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.1842, allocations: 19.86 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.1843, allocations: 19.92 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1843, allocations: 4 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1844, allocations: 31.92 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.1844, allocations: 11.92 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.1845, allocations: 45.52 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1847, allocations: 80 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1847, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1847, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1847, allocations: 0 / 445.4 MB, free: 10.67 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.0004847/0.1852, allocations: 371.2 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1853, allocations: 16.03 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1853, allocations: 8.844 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1855, allocations: 184.3 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1855, allocations: 4.312 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1856, allocations: 384 / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1857, allocations: 57.81 kB / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1858, allocations: 0 / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1858, allocations: 4 kB / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1858, allocations: 0 / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1859, allocations: 31.97 kB / 446.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1864, allocations: 280.9 kB / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.1866, allocations: 58.58 kB / 446.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1867, allocations: 20.84 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1867, allocations: 3.938 kB / 446.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1867, allocations: 30.56 kB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1867, allocations: 0 / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006396/0.1874, allocations: 173.2 kB / 446.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1874, allocations: 51.41 kB / 446.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1876, allocations: 153.8 kB / 446.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1876, allocations: 29.7 kB / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1877, allocations: 96.05 kB / 447 MB, free: 8.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1877, allocations: 19.73 kB / 447 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.1877, allocations: 13.72 kB / 447 MB, free: 8.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1879, allocations: 322.8 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.188, allocations: 31.91 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.188, allocations: 27.98 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1882, allocations: 56.77 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1882, allocations: 0 / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.1884, allocations: 101.6 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1884, allocations: 7.281 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1884, allocations: 0 / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1884, allocations: 0 / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.1885, allocations: 12 kB / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1885, allocations: 0 / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1886, allocations: 11.98 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1886, allocations: 7.938 kB / 447.6 MB, free: 8.305 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.0001124/0.1887, allocations: 121.8 kB / 447.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1887, allocations: 7.906 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.189, allocations: 106 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.189, allocations: 0 / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.189, allocations: 4.312 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.189, allocations: 0 / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.1895, allocations: 370.4 kB / 448.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1895, allocations: 0 / 448.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.1896, allocations: 15.98 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1896, allocations: 4 kB / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1896, allocations: 0 / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1896, allocations: 7.938 kB / 448.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1896, allocations: 3.938 kB / 448.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1898, allocations: 187.4 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1899, allocations: 89.02 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1899, allocations: 3.938 kB / 448.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.19, allocations: 11.92 kB / 448.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.19, allocations: 4 kB / 448.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1901, allocations: 0 / 448.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.071e-05/0.1901, allocations: 123.2 kB / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1901, allocations: 0 / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1904, allocations: 8 kB / 448.6 MB, free: 7.152 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.0009923/0.1914, allocations: 413.5 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1916, allocations: 51.97 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1916, allocations: 0 / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.1917, allocations: 43.91 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1921, allocations: 11.94 kB / 449.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.1925, allocations: 204.6 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1928, allocations: 0.7004 MB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.1929, allocations: 11.97 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.1929, allocations: 15.44 kB / 450.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1929, allocations: 0 / 450.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of Templates: time 0.003623/0.1966, allocations: 1.031 MB / 451.1 MB, free: 4.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches