Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001435/0.001435, allocations: 77 kB / 20.65 MB, free: 3.844 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.001011/0.001011, allocations: 177 kB / 24.06 MB, free: 452 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 0.9021/0.9021, allocations: 158.6 MB / 185.9 MB, free: 2.773 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.1579/0.1579, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/3.006e-05, allocations: 8.219 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003389/0.003419, allocations: 1.634 MB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.00392, allocations: 347.2 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.003993, allocations: 0 / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.004447, allocations: 451.1 kB / 350.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.004723, allocations: 259.4 kB / 350.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.005028, allocations: 151.6 kB / 350.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.005234, allocations: 163.7 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005344, allocations: 16.17 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.005453, allocations: 115.8 kB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.00562, allocations: 243.5 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.005644, allocations: 4 kB / 351.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.005716, allocations: 35.91 kB / 351.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.005792, allocations: 83.72 kB / 351.6 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.005827, allocations: 35.75 kB / 351.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.006022, allocations: 191.2 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006024, allocations: 0 / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006026, allocations: 0 / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.006031, allocations: 0 / 351.8 MB, free: 5.461 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.0004587/0.00649, allocations: 0.6969 MB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.00653, allocations: 8.031 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.006581, allocations: 52.61 kB / 352.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.006716, allocations: 244.9 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.006724, allocations: 384 / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.006741, allocations: 4.375 kB / 352.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.552e-05/0.006837, allocations: 58.94 kB / 352.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.006846, allocations: 4.188 kB / 352.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.006853, allocations: 3.938 kB / 352.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.00686, allocations: 4 kB / 352.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.006881, allocations: 7.938 kB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.00718, allocations: 336.3 kB / 353.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.007322, allocations: 39 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.00734, allocations: 19.7 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.007363, allocations: 3.984 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.007382, allocations: 41.39 kB / 353.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.007384, allocations: 8 kB / 353.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003172/0.007702, allocations: 121.2 kB / 353.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.007723, allocations: 51.41 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.007984, allocations: 0.5962 MB / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.00799, allocations: 25.7 kB / 354.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.008106, allocations: 298.7 kB / 354.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.008129, allocations: 19.78 kB / 354.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.008164, allocations: 23.38 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.008265, allocations: 0.5547 MB / 355 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.008278, allocations: 7.984 kB / 355 MB, free: 2.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.00829, allocations: 4 kB / 355 MB, free: 2.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.008323, allocations: 23.62 kB / 355 MB, free: 2.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008325, allocations: 7.938 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.344e-05/0.008409, allocations: 97.34 kB / 355.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.008424, allocations: 4 kB / 355.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008429, allocations: 0 / 355.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.008446, allocations: 0 / 355.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.008489, allocations: 11.98 kB / 355.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.008494, allocations: 4 kB / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.008517, allocations: 0 / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.008521, allocations: 0 / 355.2 MB, free: 1.906 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 (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 6.41e-05/0.008585, allocations: 164.5 kB / 355.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.008616, allocations: 43.72 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.008743, allocations: 101.2 kB / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.008746, allocations: 0 / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.008748, allocations: 320 / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008753, allocations: 0 / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.00904, allocations: 385.9 kB / 355.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.009043, allocations: 0 / 355.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.009079, allocations: 11.94 kB / 355.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.009082, allocations: 0 / 355.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.009089, allocations: 4 kB / 355.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.009093, allocations: 3.984 kB / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009094, allocations: 0 / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.607e-05/0.00919, allocations: 247.6 kB / 356.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.009212, allocations: 31.72 kB / 356.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.009225, allocations: 4 kB / 356.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.009259, allocations: 0 / 356.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.009291, allocations: 7.984 kB / 356.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.009294, allocations: 0 / 356.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.00945, allocations: 386.7 kB / 356.5 MB, free: 488 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00945, allocations: 4 kB / 356.5 MB, free: 484 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.009628, allocations: 23.98 kB / 356.6 MB, free: 460 kB / 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 (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.0009753/0.0106, allocations: 381.5 kB / 356.9 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.01071, allocations: 31.67 kB / 357 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01071, allocations: 0 / 357 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.01074, allocations: 23.66 kB / 357 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01102, allocations: 27.16 kB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.01181, allocations: 0.5703 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.01191, allocations: 123.2 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.01195, allocations: 8.25 kB / 357.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.01203, allocations: 82.19 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.483e-06/0.01204, allocations: 0 / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004342/0.01638, allocations: 1.486 MB / 359.3 MB, free: 13.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.2817494343034923]