Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 82.5 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 167.5 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.603e-05, allocations: 2.281 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003089/0.003115, allocations: 1.703 MB / 444.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004297, allocations: 0.5414 MB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.004357, allocations: 4 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.004542, allocations: 23.78 kB / 445 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.00485, allocations: 83.56 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.00525, allocations: 146.5 kB / 445.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.005431, allocations: 91.69 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.00552, allocations: 11.94 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.005622, allocations: 51.83 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.005699, allocations: 31.89 kB / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.005719, allocations: 12 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.005901, allocations: 99.81 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.005966, allocations: 19.92 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.006008, allocations: 27.91 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.006308, allocations: 171.4 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.006312, allocations: 3.938 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.006316, allocations: 4 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.006325, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.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.0006763/0.007001, allocations: 365.5 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.007036, allocations: 12.03 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.007084, allocations: 8.891 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.007324, allocations: 146.2 kB / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.00733, allocations: 384 / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.007357, allocations: 4.375 kB / 446.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.007681, allocations: 121.3 kB / 446.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007693, allocations: 4 kB / 446.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.007704, allocations: 0 / 446.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.007708, allocations: 0 / 446.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.008031, allocations: 67.92 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.008466, allocations: 248.4 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.008738, allocations: 78.39 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.008922, allocations: 44.95 kB / 446.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.008948, allocations: 3.984 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.008985, allocations: 34.56 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.008986, allocations: 0 / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001792/0.01078, allocations: 373.1 kB / 447.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.01084, allocations: 81.11 kB / 447.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01105, allocations: 153.6 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.01108, allocations: 33.7 kB / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.01116, allocations: 108 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.01119, allocations: 31.73 kB / 447.6 MB, free: 320 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.01125, allocations: 29.64 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.188/0.1993, allocations: 322.8 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.1996, allocations: 65.16 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.2, allocations: 112.2 kB / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.2006, allocations: 150.5 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2006, allocations: 0.9375 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006873/0.2013, allocations: 198.9 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2013, allocations: 5.875 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2013, allocations: 1.188 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2013, allocations: 0 / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.2015, allocations: 40.38 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2015, allocations: 0.75 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.2017, allocations: 30.42 kB / 448.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2017, allocations: 7 kB / 448.5 MB, free: 18.84 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 (10): * Single equations (assignments): 10 * 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 7.915e-05/0.2018, allocations: 120.8 kB / 448.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2018, allocations: 7.375 kB / 448.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.2025, allocations: 203.3 kB / 448.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2025, allocations: 1.547 kB / 448.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2025, allocations: 4.469 kB / 448.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2026, allocations: 6.828 kB / 448.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009144/0.2035, allocations: 423.9 kB / 449.3 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2035, allocations: 0.6094 kB / 449.3 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.2037, allocations: 38.92 kB / 449.3 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2037, allocations: 3.938 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.2037, allocations: 2.578 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2037, allocations: 3.688 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2037, allocations: 0 / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.2043, allocations: 282.1 kB / 449.6 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.2044, allocations: 21.31 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.2044, allocations: 1.469 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2046, allocations: 21.61 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.2046, allocations: 18.92 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.2047, allocations: 2.375 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.002e-05/0.2047, allocations: 118.2 kB / 449.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2047, allocations: 4 kB / 449.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.2051, allocations: 53.02 kB / 449.8 MB, free: 18.2 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 (9): * Single equations (assignments): 9 * 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.001914/0.207, allocations: 0.5284 MB / 450.4 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007441/0.2077, allocations: 160.7 kB / 450.5 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2077, allocations: 0 / 450.5 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.208, allocations: 77.08 kB / 450.6 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.2084, allocations: 31.92 kB / 450.6 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.2089, allocations: 211 kB / 450.8 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.2089, allocations: 85.83 kB / 450.9 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.549e-05/0.209, allocations: 12.17 kB / 450.9 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.2091, allocations: 26.12 kB / 451 MB, free: 17.73 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2091, allocations: 0 / 451 MB, free: 17.73 MB / 366.1 MB Notification: Performance of Templates: time 0.0066/0.2157, allocations: 2.634 MB / 453.6 MB, free: 17.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.250272523611784]