Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002012/0.002012, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002524/0.002523, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.571/2.571, allocations: 227.4 MB / 246.9 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3057/0.3057, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003011/0.003011, allocations: 73.78 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1968, allocations: 62.44 MB / 479.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.004857/0.2017, allocations: 1.736 MB / 481.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.2033, allocations: 0.5807 MB / 482.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2034, allocations: 0 / 482.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.2038, allocations: 63.8 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.2043, allocations: 79.8 kB / 482.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006377/0.205, allocations: 163.4 kB / 482.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.2053, allocations: 91.73 kB / 482.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2054, allocations: 24.22 kB / 482.7 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2056, allocations: 35.84 kB / 482.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.2057, allocations: 47.81 kB / 482.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.2058, allocations: 4 kB / 482.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.206, allocations: 47.98 kB / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2061, allocations: 27.91 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.2062, allocations: 31.75 kB / 482.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.2064, allocations: 87.81 kB / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.2065, allocations: 0 / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2065, allocations: 7.938 kB / 482.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.2065, allocations: 0 / 482.9 MB, free: 2.715 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008664/0.2074, allocations: 411.3 kB / 483.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.2074, allocations: 8.031 kB / 483.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.2075, allocations: 12.75 kB / 483.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.2079, allocations: 196.1 kB / 483.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2079, allocations: 4.375 kB / 483.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.2079, allocations: 12.36 kB / 483.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2082, allocations: 69.73 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2083, allocations: 0 / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2083, allocations: 4 kB / 483.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2083, allocations: 0 / 483.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.2085, allocations: 43.95 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.2092, allocations: 336.6 kB / 484 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2096, allocations: 58.55 kB / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.2097, allocations: 24.97 kB / 484.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.2098, allocations: 0 / 484.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2098, allocations: 34.56 kB / 484.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.2098, allocations: 4 kB / 484.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001974/0.2118, allocations: 433.2 kB / 484.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.2119, allocations: 59.34 kB / 484.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.2122, allocations: 207.2 kB / 484.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2123, allocations: 25.7 kB / 484.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2124, allocations: 104.1 kB / 484.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.2124, allocations: 39.45 kB / 485 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.2125, allocations: 21.72 kB / 485 MB, free: 456 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.2128, allocations: 322.8 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.213, allocations: 55.95 kB / 485.4 MB, free: 68 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2131, allocations: 55.95 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.2135, allocations: 124.8 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2135, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004393/0.214, allocations: 173.3 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.214, allocations: 8 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.214, allocations: 0 / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.2141, allocations: 4 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.2142, allocations: 27.92 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2142, allocations: 0 / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.2143, allocations: 7.984 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.2143, allocations: 4 kB / 485.8 MB, free: 15.66 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 (11): * Single equations (assignments): 11 * 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.0001822/0.2145, allocations: 137.8 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.2146, allocations: 11.91 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.2151, allocations: 186.9 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.2152, allocations: 7.938 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2152, allocations: 0 / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2152, allocations: 0 / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.2161, allocations: 0.5038 MB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2161, allocations: 0 / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2162, allocations: 28.16 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2162, allocations: 0 / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2162, allocations: 8 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2162, allocations: 8 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2163, allocations: 0 / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.2167, allocations: 273.5 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.2168, allocations: 96.91 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2168, allocations: 4 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2169, allocations: 8.078 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.217, allocations: 15.92 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.217, allocations: 7.938 kB / 487.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.2172, allocations: 147.9 kB / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2172, allocations: 0 / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.2175, allocations: 24 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001298/0.2188, allocations: 452.5 kB / 487.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.2192, allocations: 135.8 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2193, allocations: 4 kB / 487.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.2194, allocations: 63.89 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.2199, allocations: 27.92 kB / 487.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.2208, allocations: 355.9 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.2213, allocations: 0.72 MB / 489 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.2214, allocations: 15.44 kB / 489 MB, free: 12.44 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2214, allocations: 3.938 kB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Templates: time 0.005564/0.227, allocations: 2.059 MB / 491 MB, free: 10.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches