Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.00158/0.00158, allocations: 85.44 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.002588/0.002588, allocations: 164.9 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.569/1.569, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.2197/0.2197, allocations: 34.27 MB / 294.9 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.661e-05, allocations: 2.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003782/0.003819, allocations: 2.006 MB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.00598, allocations: 1.094 MB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.006102, allocations: 4 kB / 445.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.006693, allocations: 274.9 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.007272, allocations: 266.9 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.008723, allocations: 0.6619 MB / 447 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.009236, allocations: 363 kB / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.00942, allocations: 52.91 kB / 447.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.00968, allocations: 183.4 kB / 447.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.009986, allocations: 207.5 kB / 447.8 MB, free: 336 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.01002, allocations: 8 kB / 447.8 MB, free: 328 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.01022, allocations: 103.8 kB / 447.9 MB, free: 224 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.01038, allocations: 99.61 kB / 448 MB, free: 124 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.756e-05/0.01046, allocations: 59.72 kB / 448 MB, free: 64 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2165/0.227, allocations: 340.3 kB / 448.4 MB, free: 16.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.227, allocations: 0 / 448.4 MB, free: 16.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.227, allocations: 1.969 kB / 448.4 MB, free: 16.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.227, allocations: 0.7969 kB / 448.4 MB, free: 16.07 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009062/0.2279, allocations: 0.601 MB / 449 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2279, allocations: 8.531 kB / 449 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/0.228, allocations: 44.12 kB / 449 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.2284, allocations: 273.4 kB / 449.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2284, allocations: 7.906 kB / 449.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.2284, allocations: 11.38 kB / 449.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.2287, allocations: 126 kB / 449.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2287, allocations: 2.406 kB / 449.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2288, allocations: 7.906 kB / 449.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2288, allocations: 6.781 kB / 449.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.229, allocations: 99.58 kB / 449.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.2296, allocations: 425.7 kB / 449.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.2298, allocations: 106.5 kB / 450 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.2299, allocations: 35.03 kB / 450.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.2299, allocations: 7.5 kB / 450.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.23, allocations: 36.62 kB / 450.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.23, allocations: 1.969 kB / 450.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001073/0.231, allocations: 451 kB / 450.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.2311, allocations: 54.39 kB / 450.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.2317, allocations: 0.5732 MB / 451.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2317, allocations: 27.02 kB / 451.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2319, allocations: 212.4 kB / 451.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.2319, allocations: 60.88 kB / 451.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.232, allocations: 34.22 kB / 451.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.2321, allocations: 353.6 kB / 451.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2322, allocations: 64.97 kB / 451.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2324, allocations: 71.58 kB / 452 MB, free: 14.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.2326, allocations: 160.1 kB / 452.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2326, allocations: 0 / 452.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003782/0.233, allocations: 237.2 kB / 452.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.233, allocations: 5.5 kB / 452.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.233, allocations: 7 kB / 452.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2331, allocations: 1.375 kB / 452.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2332, allocations: 33.69 kB / 452.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2332, allocations: 1.375 kB / 452.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.2333, allocations: 7.766 kB / 452.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2333, allocations: 6.156 kB / 452.4 MB, free: 14.23 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 (17): * Single equations (assignments): 17 * 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.0001578/0.2335, allocations: 185.1 kB / 452.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.2335, allocations: 45.92 kB / 452.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.2341, allocations: 279.8 kB / 452.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2341, allocations: 1.375 kB / 452.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2341, allocations: 3.938 kB / 453 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2341, allocations: 2.688 kB / 453 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2351, allocations: 0.591 MB / 453.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2351, allocations: 1.219 kB / 453.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2353, allocations: 34.94 kB / 453.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2353, allocations: 5.094 kB / 453.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2353, allocations: 3.938 kB / 453.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.2353, allocations: 1.062 kB / 453.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2353, allocations: 0 / 453.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.2358, allocations: 345.7 kB / 453.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2359, allocations: 30.64 kB / 454 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.2359, allocations: 0 / 454 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.236, allocations: 8.953 kB / 454 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.2361, allocations: 16 kB / 454 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2361, allocations: 12.5 kB / 454 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006571/0.2368, allocations: 426.5 kB / 454.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2368, allocations: 0 / 454.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.2372, allocations: 52.22 kB / 454.5 MB, free: 13.32 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 (17): * Single equations (assignments): 17 * 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.003107/0.2403, allocations: 0.7544 MB / 455.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.2407, allocations: 159 kB / 455.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2407, allocations: 4 kB / 455.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.2408, allocations: 85.44 kB / 455.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.2414, allocations: 84.27 kB / 455.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2426, allocations: 0.7428 MB / 456.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2429, allocations: 223.8 kB / 456.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.243, allocations: 53.53 kB / 456.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.2431, allocations: 33.64 kB / 456.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2431, allocations: 1.281 kB / 456.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.009574/0.2527, allocations: 3.403 MB / 460 MB, free: 12.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.04880378395319]