Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001678/0.001678, 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.002/0.002, 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 1.574/1.574, 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.3072/0.3073, allocations: 46.11 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002916/0.002916, allocations: 77.28 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1942, allocations: 62.45 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00551/0.1998, allocations: 1.641 MB / 481.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.2017, allocations: 0.5262 MB / 482.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.2018, allocations: 7.938 kB / 482.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.2022, allocations: 31.84 kB / 482.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.2027, allocations: 59.83 kB / 482.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.2032, allocations: 103.1 kB / 482.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.2035, allocations: 67.83 kB / 482.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2036, allocations: 15.98 kB / 482.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.825e-05/0.2037, allocations: 27.81 kB / 482.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.2038, allocations: 27.78 kB / 482.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2039, allocations: 4 kB / 482.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.204, allocations: 31.98 kB / 482.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.2041, allocations: 15.98 kB / 482.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.2042, allocations: 27.75 kB / 482.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2044, allocations: 63.91 kB / 482.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2044, allocations: 0 / 482.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2045, allocations: 4 kB / 482.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2045, allocations: 0 / 482.8 MB, free: 2.961 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.000659/0.2051, allocations: 391.3 kB / 483.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.2052, allocations: 12.02 kB / 483.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.2053, allocations: 8.844 kB / 483.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.2056, allocations: 192.7 kB / 483.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2056, allocations: 384 / 483.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.2057, allocations: 11.92 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.2059, allocations: 53.67 kB / 483.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.2059, allocations: 7.906 kB / 483.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.206, allocations: 0 / 483.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.206, allocations: 0 / 483.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2062, allocations: 23.92 kB / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.2068, allocations: 284.8 kB / 483.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.2072, allocations: 50.56 kB / 483.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.2073, allocations: 16.94 kB / 483.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.2073, allocations: 3.984 kB / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.2074, allocations: 30.56 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.2074, allocations: 0 / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009974/0.2084, allocations: 157.3 kB / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.2085, allocations: 51.41 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2088, allocations: 179.8 kB / 484.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2089, allocations: 29.7 kB / 484.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.209, allocations: 100 kB / 484.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.209, allocations: 19.73 kB / 484.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.2091, allocations: 13.72 kB / 484.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2093, allocations: 326.8 kB / 484.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2094, allocations: 19.98 kB / 484.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2096, allocations: 27.98 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2099, allocations: 52.83 kB / 484.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2099, allocations: 0 / 484.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003944/0.2103, allocations: 85.56 kB / 484.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2104, allocations: 8 kB / 484.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.2104, allocations: 7.984 kB / 484.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2104, allocations: 3.938 kB / 484.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2106, allocations: 11.98 kB / 484.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2106, allocations: 0 / 484.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.2107, allocations: 7.938 kB / 484.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.2107, allocations: 7.984 kB / 485 MB, free: 0.582 MB / 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 (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.000133/0.2109, allocations: 121.8 kB / 485.1 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.2109, allocations: 11.91 kB / 485.1 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.2114, allocations: 97.95 kB / 485.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2114, allocations: 0 / 485.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2114, allocations: 4 kB / 485.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2114, allocations: 3.938 kB / 485.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/0.2122, allocations: 350.5 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.2123, allocations: 8 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.2124, allocations: 16.23 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2124, allocations: 0 / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2125, allocations: 7.938 kB / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2125, allocations: 0 / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2125, allocations: 4 kB / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.2129, allocations: 191.3 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.213, allocations: 85.02 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.2131, allocations: 3.938 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2132, allocations: 7.984 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.2133, allocations: 4.281 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2133, allocations: 4 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.2135, allocations: 134.5 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2135, allocations: 4 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.214, allocations: 16 kB / 486 MB, free: 15.43 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.001848/0.2159, allocations: 404.4 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.2163, allocations: 51.97 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2163, allocations: 3.938 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2165, allocations: 27.97 kB / 486.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.2171, allocations: 23.8 kB / 486.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.218, allocations: 251.6 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.2184, allocations: 0.6963 MB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.2185, allocations: 23.36 kB / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2185, allocations: 4 kB / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Templates: time 0.006048/0.2245, allocations: 1.503 MB / 489 MB, free: 12.53 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches