Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.0007556/0.0007556, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001783, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007415/0.0007415, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009097/0.001651, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1285/1.158, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3541/0.3541, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05823/0.4123, allocations: 12.52 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.61e-05, allocations: 4.312 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003885/0.003922, allocations: 1.674 MB / 292.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.005195, allocations: 0.5552 MB / 292.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.005293, allocations: 3.938 kB / 292.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.005548, allocations: 34.55 kB / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.005908, allocations: 75.25 kB / 293 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.006376, allocations: 111.4 kB / 293.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.006597, allocations: 63.97 kB / 293.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.006714, allocations: 15.98 kB / 293.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.00685, allocations: 56.92 kB / 293.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.967e-05/0.00694, allocations: 12.86 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.006962, allocations: 5.312 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.007091, allocations: 27.12 kB / 293.2 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.007146, allocations: 14.2 kB / 293.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.007191, allocations: 10.56 kB / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.007423, allocations: 70.69 kB / 293.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.582e-05/0.007448, allocations: 0 / 293.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00745, allocations: 3.938 kB / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.007475, allocations: 0 / 293.3 MB, free: 5.547 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000615/0.00809, allocations: 308.8 kB / 293.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.008137, allocations: 8.031 kB / 293.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.00818, allocations: 4.938 kB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.008387, allocations: 133.7 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.0084, allocations: 384 / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.008428, allocations: 8.328 kB / 293.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.008564, allocations: 50.95 kB / 293.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.008575, allocations: 192 / 293.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.008586, allocations: 4.125 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.008593, allocations: 0 / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.008629, allocations: 19.92 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.008949, allocations: 159.1 kB / 294 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.009149, allocations: 29.41 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.009177, allocations: 12.84 kB / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.009204, allocations: 96 / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.009241, allocations: 38.48 kB / 294.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.009243, allocations: 0 / 294.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004258/0.009669, allocations: 93.48 kB / 294.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.009711, allocations: 51.41 kB / 294.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.00985, allocations: 148.3 kB / 294.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.009868, allocations: 29.7 kB / 294.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.009919, allocations: 92.11 kB / 294.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.009964, allocations: 19.83 kB / 294.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.01, allocations: 17.72 kB / 294.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.01012, allocations: 326.8 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.01014, allocations: 3.938 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.01016, allocations: 4 kB / 294.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.01021, allocations: 27.86 kB / 294.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01021, allocations: 0 / 294.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001029/0.01031, allocations: 53.83 kB / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.01033, allocations: 12 kB / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01034, allocations: 0 / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01035, allocations: 0 / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.01044, allocations: 8 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01044, allocations: 4 kB / 295 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.01047, allocations: 11.97 kB / 295 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.01048, allocations: 0 / 295 MB, free: 3.738 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 8.614e-05/0.01057, allocations: 112.7 kB / 295.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.0106, allocations: 7.938 kB / 295.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.01077, allocations: 62.08 kB / 295.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01077, allocations: 4 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01077, allocations: 4 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01078, allocations: 0 / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.0111, allocations: 214.7 kB / 295.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.0111, allocations: 0 / 295.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.01116, allocations: 11.98 kB / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.01118, allocations: 7.953 kB / 295.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01118, allocations: 0 / 295.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.01119, allocations: 3.938 kB / 295.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.01119, allocations: 4.188 kB / 295.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.0112, allocations: 8 kB / 295.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.01134, allocations: 147.5 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.01135, allocations: 0 / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.01141, allocations: 4 kB / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.01145, allocations: 3.984 kB / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.01146, allocations: 4 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.01152, allocations: 37.16 kB / 295.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01152, allocations: 0 / 295.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01174, allocations: 12 kB / 295.6 MB, free: 3.043 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 (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.001788/0.01352, allocations: 0.5557 MB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.01365, allocations: 32.72 kB / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.01366, allocations: 0 / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.01368, allocations: 12.86 kB / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.01397, allocations: 27.97 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.01471, allocations: 187.1 kB / 296.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.919e-05/0.01478, allocations: 70.66 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.01484, allocations: 11.98 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.01492, allocations: 55.38 kB / 296.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of SimCode: time 1.863e-06/0.01492, allocations: 0 / 296.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of Templates: time 0.003952/0.01887, allocations: 1.276 MB / 297.8 MB, free: 1.094 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.191499394364655]