Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009945, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 177.1 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 223.1 MB, free: 5.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5338/0.5338, allocations: 43.57 MB / 315 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008472/0.0008483, allocations: 16 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1905, allocations: 58.87 MB / 443.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002477/0.1931, allocations: 1.337 MB / 444.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.195, allocations: 0.9065 MB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.1951, allocations: 0 / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1954, allocations: 7.938 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1956, allocations: 39.84 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.196, allocations: 107.9 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1962, allocations: 63.77 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1963, allocations: 8.188 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.1964, allocations: 19.92 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1966, allocations: 31.84 kB / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1966, allocations: 0 / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1968, allocations: 51.91 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.1968, allocations: 19.86 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.1969, allocations: 45.56 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1971, allocations: 91.98 kB / 446.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/0.1972, allocations: 4 kB / 446.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1972, allocations: 0 / 446.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1972, allocations: 0 / 446.2 MB, free: 9.941 MB / 382.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.0005746/0.1978, allocations: 379.3 kB / 446.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1978, allocations: 12.03 kB / 446.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1979, allocations: 8.844 kB / 446.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1981, allocations: 192.2 kB / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1982, allocations: 384 / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1982, allocations: 8.375 kB / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.1984, allocations: 75.33 kB / 446.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1984, allocations: 4 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1985, allocations: 0 / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1985, allocations: 4 kB / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1986, allocations: 39.97 kB / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.1991, allocations: 292.7 kB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1992, allocations: 46.56 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.1993, allocations: 20.94 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1994, allocations: 8 kB / 447.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1994, allocations: 34.56 kB / 447.3 MB, free: 8.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1994, allocations: 0 / 447.3 MB, free: 8.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008875/0.2003, allocations: 237.3 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.2004, allocations: 81.11 kB / 447.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2006, allocations: 137.7 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2006, allocations: 29.64 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2007, allocations: 96.12 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.2007, allocations: 23.66 kB / 447.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2008, allocations: 9.719 kB / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2009, allocations: 322.8 kB / 448.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.201, allocations: 39.97 kB / 448.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2012, allocations: 53.69 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.2014, allocations: 92.84 kB / 448.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2014, allocations: 0 / 448.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003108/0.2017, allocations: 133.8 kB / 448.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.2018, allocations: 4 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2018, allocations: 0 / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2018, allocations: 11.88 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.202, allocations: 23.98 kB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.202, allocations: 0 / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/0.2021, allocations: 15.92 kB / 448.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2021, allocations: 11.94 kB / 448.6 MB, free: 7.301 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001182/0.2022, allocations: 121.8 kB / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.2023, allocations: 12.17 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.2026, allocations: 141.9 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.2027, allocations: 3.984 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2027, allocations: 0 / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2027, allocations: 3.938 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.2033, allocations: 398.5 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2033, allocations: 0 / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.2034, allocations: 23.98 kB / 449.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2034, allocations: 4 kB / 449.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.2035, allocations: 7.938 kB / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2035, allocations: 3.938 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2035, allocations: 4 kB / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.2038, allocations: 219.4 kB / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.2039, allocations: 89 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2039, allocations: 3.938 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.204, allocations: 19.98 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.2041, allocations: 3.984 kB / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2041, allocations: 4 kB / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.741e-05/0.2042, allocations: 103.8 kB / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2042, allocations: 8 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.2045, allocations: 20 kB / 449.7 MB, free: 6.027 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001106/0.2056, allocations: 437.4 kB / 450.2 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.2059, allocations: 95.88 kB / 450.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2059, allocations: 0 / 450.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.2061, allocations: 56.12 kB / 450.3 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.2064, allocations: 23.72 kB / 450.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.2069, allocations: 209.4 kB / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2073, allocations: 0.7004 MB / 451.2 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.881e-05/0.2074, allocations: 8 kB / 451.3 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.2074, allocations: 15.42 kB / 451.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2074, allocations: 3.938 kB / 451.3 MB, free: 4.477 MB / 382.1 MB Notification: Performance of Templates: time 0.005824/0.2133, allocations: 1.4 MB / 452.7 MB, free: 3.074 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches