Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.001862, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002226/0.002226, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.594/2.594, 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.426/0.426, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 80.64 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1865, allocations: 62.44 MB / 480.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.005084/0.1916, allocations: 1.653 MB / 481.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007132/0.1988, allocations: 1.132 MB / 482.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.199, allocations: 7.938 kB / 482.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1993, allocations: 23.91 kB / 483 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005248/0.1999, allocations: 59.83 kB / 483 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.2004, allocations: 83.22 kB / 483.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.2006, allocations: 63.84 kB / 483.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2008, allocations: 11.98 kB / 483.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.2009, allocations: 39.78 kB / 483.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2011, allocations: 27.86 kB / 483.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.2012, allocations: 4 kB / 483.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.2015, allocations: 99.94 kB / 483.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.2016, allocations: 15.97 kB / 483.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.2017, allocations: 23.75 kB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.202, allocations: 99.86 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.202, allocations: 0 / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.202, allocations: 3.938 kB / 483.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.2021, allocations: 0 / 483.5 MB, free: 2.281 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.0007591/0.2028, allocations: 399.5 kB / 483.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.2029, allocations: 15.95 kB / 483.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.203, allocations: 4.938 kB / 483.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2033, allocations: 202.9 kB / 484.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2033, allocations: 384 / 484.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2034, allocations: 4.375 kB / 484.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.2036, allocations: 67.47 kB / 484.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2036, allocations: 0 / 484.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2037, allocations: 4 kB / 484.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2037, allocations: 0 / 484.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.2038, allocations: 27.97 kB / 484.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.2044, allocations: 268.9 kB / 484.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.2047, allocations: 50.5 kB / 484.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.314e-05/0.2048, allocations: 20.94 kB / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2048, allocations: 3.938 kB / 484.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2049, allocations: 34.56 kB / 484.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.2049, allocations: 0 / 484.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008843/0.2058, allocations: 141.2 kB / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.2059, allocations: 81.11 kB / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.2061, allocations: 152.3 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2062, allocations: 25.7 kB / 485 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.2063, allocations: 92.14 kB / 485 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.2063, allocations: 15.7 kB / 485.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.2064, allocations: 21.72 kB / 485.1 MB, free: 480 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2066, allocations: 322.8 kB / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2067, allocations: 19.98 kB / 485.4 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2069, allocations: 37.77 kB / 485.5 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.2071, allocations: 48.77 kB / 485.5 MB, free: 32 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2072, allocations: 0 / 485.5 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003607/0.2075, allocations: 77.67 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2076, allocations: 4 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2076, allocations: 4.031 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2076, allocations: 0 / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2077, allocations: 15.98 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2078, allocations: 0 / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.2079, allocations: 4 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2079, allocations: 3.938 kB / 485.6 MB, free: 15.92 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.0001389/0.208, allocations: 117.8 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.2081, allocations: 12.12 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.2085, allocations: 89.97 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2085, allocations: 3.984 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2086, allocations: 0 / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2086, allocations: 0 / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.2093, allocations: 362.3 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2093, allocations: 3.984 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.2094, allocations: 16.31 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2095, allocations: 0 / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2095, allocations: 4 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.2095, allocations: 3.938 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2095, allocations: 3.938 kB / 486.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.2099, allocations: 175.4 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.21, allocations: 81.11 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.21, allocations: 4 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.2102, allocations: 11.92 kB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.2103, allocations: 7.938 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.2103, allocations: 4 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2105, allocations: 113.3 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2105, allocations: 4 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005609/0.2111, allocations: 35.98 kB / 486.6 MB, free: 14.78 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.002223/0.2133, allocations: 493.9 kB / 487.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.2138, allocations: 51.95 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2138, allocations: 3.938 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.214, allocations: 27.92 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/0.2146, allocations: 12 kB / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.2154, allocations: 215.1 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2158, allocations: 0.6924 MB / 488.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.2159, allocations: 19.42 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.216, allocations: 4 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.006357/0.2223, allocations: 1.927 MB / 490.1 MB, free: 11.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches