Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002312/0.002313, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.699/2.699, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4582/0.4582, allocations: 46.11 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 83.48 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1835, allocations: 62.44 MB / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.005192/0.1888, allocations: 1.677 MB / 481.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1904, allocations: 0.5261 MB / 482.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.1906, allocations: 0 / 482.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.1911, allocations: 79.77 kB / 482.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.1917, allocations: 87.78 kB / 482.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.1922, allocations: 83.34 kB / 482.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.1925, allocations: 83.81 kB / 482.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1926, allocations: 16 kB / 482.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1928, allocations: 39.83 kB / 482.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.193, allocations: 59.81 kB / 482.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.193, allocations: 4 kB / 482.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1932, allocations: 43.92 kB / 482.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.1933, allocations: 23.92 kB / 482.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.1934, allocations: 39.73 kB / 482.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1937, allocations: 71.91 kB / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.1937, allocations: 0 / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1937, allocations: 3.938 kB / 483 MB, free: 2.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1938, allocations: 0 / 483 MB, free: 2.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007801/0.1945, allocations: 411.2 kB / 483.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.1946, allocations: 12.03 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.1947, allocations: 8.844 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.195, allocations: 206.6 kB / 483.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1951, allocations: 8.359 kB / 483.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1951, allocations: 4.375 kB / 483.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.1953, allocations: 57.8 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1954, allocations: 0 / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1954, allocations: 0 / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1954, allocations: 4 kB / 483.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1956, allocations: 19.98 kB / 483.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.1962, allocations: 312.6 kB / 484 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1963, allocations: 38.66 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.862e-05/0.1964, allocations: 20.84 kB / 484.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1965, allocations: 0 / 484.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1965, allocations: 30.56 kB / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.1965, allocations: 4 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001356/0.1979, allocations: 225 kB / 484.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.198, allocations: 55.34 kB / 484.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.1983, allocations: 214.7 kB / 484.6 MB, free: 1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1983, allocations: 33.7 kB / 484.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1985, allocations: 104.1 kB / 484.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.1985, allocations: 27.5 kB / 484.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.1986, allocations: 25.7 kB / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1988, allocations: 322.8 kB / 485.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1989, allocations: 23.98 kB / 485.1 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.199, allocations: 23.98 kB / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.1993, allocations: 68.89 kB / 485.2 MB, free: 364 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1993, allocations: 0 / 485.2 MB, free: 364 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003673/0.1997, allocations: 101.8 kB / 485.3 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.1998, allocations: 11.94 kB / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1998, allocations: 0 / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1998, allocations: 0 / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.2, allocations: 15.98 kB / 485.3 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.2, allocations: 4 kB / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.2001, allocations: 7.938 kB / 485.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.2001, allocations: 8 kB / 485.3 MB, free: 208 kB / 350.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 (8): * Single equations (assignments): 8 * 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.0001611/0.2003, allocations: 125.8 kB / 485.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.2004, allocations: 15.81 kB / 485.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.2009, allocations: 123 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2009, allocations: 0 / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.2009, allocations: 8 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2009, allocations: 3.938 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008737/0.2018, allocations: 399.7 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2019, allocations: 0 / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.202, allocations: 15.98 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.202, allocations: 3.938 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.202, allocations: 8.031 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.202, allocations: 0 / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.202, allocations: 0 / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.2025, allocations: 216.1 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.2026, allocations: 92.94 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.2027, allocations: 0 / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2028, allocations: 8 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.2029, allocations: 15.81 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2029, allocations: 4 kB / 486.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.2032, allocations: 160.7 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2032, allocations: 4 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.2037, allocations: 20 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001815/0.2055, allocations: 444.2 kB / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.2059, allocations: 75.86 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2059, allocations: 0 / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.2061, allocations: 39.98 kB / 487.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.2067, allocations: 19.98 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.2077, allocations: 320.6 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.2081, allocations: 0.7079 MB / 488.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.714e-05/0.2082, allocations: 19.42 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2082, allocations: 3.938 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.005977/0.2142, allocations: 1.751 MB / 489.9 MB, free: 11.62 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches