Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0009628/0.0009628, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002569, 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.0008167/0.0008167, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.001942, 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.068/1.068, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1264/1.194, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2731/0.2731, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03576/0.3088, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.395e-05, allocations: 4.203 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003134/0.003158, allocations: 1.721 MB / 292.3 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.004244, allocations: 0.5743 MB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.004317, allocations: 2 kB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.004569, allocations: 98.58 kB / 293 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.004852, allocations: 111.5 kB / 293.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.005147, allocations: 117.8 kB / 293.2 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005314, allocations: 108.8 kB / 293.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.005411, allocations: 23.91 kB / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.689e-05/0.005508, allocations: 71.88 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.005596, allocations: 55.86 kB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.005609, allocations: 4 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.005693, allocations: 47.92 kB / 293.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.005734, allocations: 27.88 kB / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.005765, allocations: 15.94 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.005947, allocations: 107.5 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.66e-05/0.005964, allocations: 4 kB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005965, allocations: 0 / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.00598, allocations: 0 / 293.7 MB, free: 5.199 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004216/0.006401, allocations: 356.4 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.006431, allocations: 8.625 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.006461, allocations: 8.938 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.0066, allocations: 157.5 kB / 294.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.006609, allocations: 8.312 kB / 294.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.00663, allocations: 8.375 kB / 294.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.892e-05/0.006729, allocations: 63.94 kB / 294.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006737, allocations: 192 / 294.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.006747, allocations: 8.125 kB / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.006752, allocations: 4 kB / 294.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.006785, allocations: 22.73 kB / 294.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.007051, allocations: 207 kB / 294.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.703e-05/0.007118, allocations: 38.56 kB / 294.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.007138, allocations: 20.78 kB / 294.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.007166, allocations: 160 / 294.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.007188, allocations: 38.55 kB / 294.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.007189, allocations: 0 / 294.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004782/0.007667, allocations: 197.8 kB / 294.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.007696, allocations: 51.41 kB / 294.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.00781, allocations: 201 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.00782, allocations: 25.7 kB / 295.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.007855, allocations: 112 kB / 295.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.007885, allocations: 39.64 kB / 295.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.007917, allocations: 25.7 kB / 295.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.008002, allocations: 334.7 kB / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.008017, allocations: 12 kB / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.008037, allocations: 20.12 kB / 295.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.008089, allocations: 43.59 kB / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.00809, allocations: 0 / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.739e-05/0.008177, allocations: 79.16 kB / 295.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.008188, allocations: 4 kB / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.008192, allocations: 0 / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.008202, allocations: 0 / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.008289, allocations: 27.98 kB / 295.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.008292, allocations: 3.938 kB / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.008309, allocations: 0 / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.008316, allocations: 11.98 kB / 295.8 MB, free: 2.945 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 (13): * Single equations (assignments): 13 * 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.29e-05/0.008379, allocations: 120.6 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.008396, allocations: 12 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.008529, allocations: 103 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.008531, allocations: 0 / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008533, allocations: 0 / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.008538, allocations: 7.984 kB / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.008811, allocations: 288 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008812, allocations: 0 / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.00887, allocations: 35.95 kB / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.008881, allocations: 15.89 kB / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008883, allocations: 0 / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.008891, allocations: 4 kB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.008894, allocations: 7.938 kB / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.008896, allocations: 3.984 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.009003, allocations: 178.9 kB / 296.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.009016, allocations: 3.984 kB / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.009055, allocations: 4 kB / 296.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.009087, allocations: 15.92 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.009093, allocations: 8 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.009139, allocations: 61.61 kB / 296.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009139, allocations: 0 / 296.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.00928, allocations: 27.94 kB / 296.7 MB, free: 2.004 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001379/0.01066, allocations: 0.6287 MB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.01076, allocations: 48.83 kB / 297.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.01077, allocations: 4 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.0108, allocations: 40.7 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.01098, allocations: 27.8 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.01143, allocations: 278.5 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.01147, allocations: 83.33 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.907e-05/0.01151, allocations: 8.5 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.01157, allocations: 71.36 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01157, allocations: 0 / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of Templates: time 0.003272/0.01484, allocations: 1.778 MB / 299.6 MB, free: 15.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.2232442125678062]