Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001883/0.001883, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002131/0.002131, allocations: 201.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.67/2.67, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3525/0.3525, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 76.78 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 62.45 MB / 480.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00865/0.1794, allocations: 1.653 MB / 481.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1824, allocations: 1.144 MB / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.1825, allocations: 0 / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1829, allocations: 27.91 kB / 483 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.1833, allocations: 67.77 kB / 483 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.1838, allocations: 99.44 kB / 483.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.184, allocations: 67.89 kB / 483.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1842, allocations: 15.92 kB / 483.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.521e-05/0.1842, allocations: 27.88 kB / 483.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1844, allocations: 35.83 kB / 483.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1845, allocations: 4 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.1847, allocations: 95.88 kB / 483.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.1848, allocations: 11.98 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.1849, allocations: 23.81 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1851, allocations: 111.8 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1851, allocations: 0 / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.1852, allocations: 0 / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1852, allocations: 3.938 kB / 483.5 MB, free: 2.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006396/0.1858, allocations: 395.5 kB / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.1859, allocations: 12.03 kB / 483.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.186, allocations: 4.875 kB / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1862, allocations: 204 kB / 484.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1863, allocations: 384 / 484.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1863, allocations: 4.375 kB / 484.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.1866, allocations: 71.52 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1866, allocations: 0 / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1866, allocations: 0 / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1866, allocations: 0 / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1868, allocations: 27.97 kB / 484.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.1873, allocations: 284.8 kB / 484.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1876, allocations: 46.56 kB / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.1877, allocations: 16.94 kB / 484.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1877, allocations: 0 / 484.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1878, allocations: 38.5 kB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1878, allocations: 4 kB / 484.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008153/0.1886, allocations: 153.2 kB / 484.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.1887, allocations: 77.11 kB / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1889, allocations: 141.8 kB / 485 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.189, allocations: 29.7 kB / 485 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.189, allocations: 92.12 kB / 485.1 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1891, allocations: 23.7 kB / 485.1 MB, free: 420 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.1891, allocations: 21.72 kB / 485.1 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1893, allocations: 322.8 kB / 485.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1894, allocations: 23.92 kB / 485.5 MB, free: 36 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1896, allocations: 41.81 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.1898, allocations: 52.8 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1898, allocations: 0 / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002947/0.1901, allocations: 81.67 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1902, allocations: 4 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1902, allocations: 3.984 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1902, allocations: 0 / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/0.1944, allocations: 15.94 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1944, allocations: 0 / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.1945, allocations: 7.984 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1945, allocations: 7.938 kB / 485.7 MB, free: 15.81 MB / 366.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.00014/0.1947, allocations: 113.8 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.1948, allocations: 7.906 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.1952, allocations: 102.2 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1952, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1952, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1952, allocations: 3.984 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.1959, allocations: 374.3 kB / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1959, allocations: 3.938 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.196, allocations: 12.3 kB / 486.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1961, allocations: 0 / 486.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1961, allocations: 4 kB / 486.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1961, allocations: 7.938 kB / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1961, allocations: 0 / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.1965, allocations: 187.3 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.1965, allocations: 85.11 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1966, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1967, allocations: 11.92 kB / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1968, allocations: 4 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1968, allocations: 0 / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1969, allocations: 121.6 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1969, allocations: 0 / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.1975, allocations: 32 kB / 486.7 MB, free: 14.66 MB / 366.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.001776/0.1993, allocations: 0.4887 MB / 487.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.1996, allocations: 55.89 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1996, allocations: 0 / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1998, allocations: 27.92 kB / 487.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.2003, allocations: 25.67 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.201, allocations: 219.1 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.2014, allocations: 0.6885 MB / 488.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.2015, allocations: 23.42 kB / 488.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2015, allocations: 0 / 488.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.009941/0.2114, allocations: 1.967 MB / 490.2 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches