Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.00122/0.00122, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.001125/0.001125, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.162/1.162, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1601/0.1601, allocations: 32.36 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.113e-05, allocations: 2.312 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002541/0.002573, allocations: 1.659 MB / 349.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000865/0.003438, allocations: 343.3 kB / 349.7 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003538, allocations: 4 kB / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.004099, allocations: 459.1 kB / 350.1 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.004412, allocations: 259.4 kB / 350.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.004846, allocations: 151.6 kB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.005074, allocations: 175.6 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.005217, allocations: 8 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.005339, allocations: 119.8 kB / 350.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.005554, allocations: 243.5 kB / 351.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.005576, allocations: 4 kB / 351.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.005669, allocations: 31.92 kB / 351.1 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.005791, allocations: 91.7 kB / 351.2 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.00584, allocations: 35.75 kB / 351.2 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.006069, allocations: 195.2 kB / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.006073, allocations: 0 / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.006075, allocations: 0 / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.00608, allocations: 0 / 351.4 MB, free: 6.027 MB / 282.7 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.0005663/0.006647, allocations: 0.697 MB / 352.1 MB, free: 5.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.006695, allocations: 8.031 kB / 352.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.006775, allocations: 48.66 kB / 352.2 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.006995, allocations: 236.9 kB / 352.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.007012, allocations: 12.38 kB / 352.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.007037, allocations: 4.328 kB / 352.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.007182, allocations: 66.92 kB / 352.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007192, allocations: 192 / 352.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.007204, allocations: 4.125 kB / 352.5 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.007214, allocations: 4 kB / 352.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.007257, allocations: 7.938 kB / 352.5 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.007667, allocations: 427.6 kB / 352.9 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.92e-05/0.007757, allocations: 43.05 kB / 352.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.007785, allocations: 19.62 kB / 353 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.007809, allocations: 0 / 353 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.007832, allocations: 45.41 kB / 353 MB, free: 4.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.007833, allocations: 0 / 353 MB, free: 4.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.00047/0.008303, allocations: 204.7 kB / 353.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.008341, allocations: 55.41 kB / 353.3 MB, free: 4.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.008665, allocations: 0.6238 MB / 353.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.008676, allocations: 29.7 kB / 353.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.008781, allocations: 274.8 kB / 354.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.00881, allocations: 27.75 kB / 354.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.008846, allocations: 35.36 kB / 354.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.008935, allocations: 0.547 MB / 354.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.00896, allocations: 8.062 kB / 354.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.00898, allocations: 15.98 kB / 354.8 MB, free: 2.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.009037, allocations: 31.86 kB / 354.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.009038, allocations: 0 / 354.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001573/0.009196, allocations: 109.3 kB / 355 MB, free: 2.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.009213, allocations: 4 kB / 355 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009218, allocations: 0 / 355 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.009235, allocations: 3.938 kB / 355 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.00936, allocations: 19.98 kB / 355 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.009368, allocations: 4 kB / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.009417, allocations: 7.984 kB / 355 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.009425, allocations: 0 / 355 MB, free: 2.227 MB / 282.7 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 7.941e-05/0.009505, allocations: 164.5 kB / 355.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.009549, allocations: 39.72 kB / 355.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.009701, allocations: 109.5 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009704, allocations: 0 / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.009709, allocations: 4 kB / 355.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.009715, allocations: 3.984 kB / 355.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.01005, allocations: 485.3 kB / 355.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01006, allocations: 0 / 355.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.01012, allocations: 20.2 kB / 355.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01012, allocations: 0 / 355.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01014, allocations: 4 kB / 355.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01014, allocations: 0 / 355.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01014, allocations: 0 / 355.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.01032, allocations: 259.5 kB / 356.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.01036, allocations: 35.72 kB / 356.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.01038, allocations: 0 / 356.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.01044, allocations: 15.98 kB / 356.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.01048, allocations: 7.984 kB / 356.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.01049, allocations: 0 / 356.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.01067, allocations: 426.7 kB / 356.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01067, allocations: 0 / 356.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.01084, allocations: 31.92 kB / 356.6 MB, free: 0.5781 MB / 282.7 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.0008223/0.01166, allocations: 375.6 kB / 356.9 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.01179, allocations: 35.67 kB / 357 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.0118, allocations: 4 kB / 357 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.01184, allocations: 31.75 kB / 357 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.0122, allocations: 27.2 kB / 357 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.01307, allocations: 0.5863 MB / 357.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.01318, allocations: 127.2 kB / 357.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.01324, allocations: 15.97 kB / 357.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.01328, allocations: 16.5 kB / 357.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.01328, allocations: 0 / 357.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of Templates: time 0.004998/0.01828, allocations: 1.533 MB / 359.3 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.452686275122687]