Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.0009464/0.0009464, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002287, allocations: 453.9 kB / 10.45 MB, free: 244 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.0008866/0.0008866, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002087, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08658/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2411/0.2411, allocations: 34.24 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.027/0.2681, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.854e-05, allocations: 4.516 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001978/0.001996, allocations: 1.694 MB / 294.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006721/0.002668, allocations: 0.5491 MB / 295.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.002718, allocations: 0 / 295.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.002936, allocations: 159.5 kB / 295.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.003107, allocations: 131.4 kB / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.003275, allocations: 91.64 kB / 295.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.00342, allocations: 99.67 kB / 295.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.003503, allocations: 19.97 kB / 295.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.003605, allocations: 79.8 kB / 295.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.0037, allocations: 63.88 kB / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.003714, allocations: 4 kB / 295.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.505e-05/0.003789, allocations: 47.86 kB / 295.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.003831, allocations: 23.88 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.003854, allocations: 11.94 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003996, allocations: 103.6 kB / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.004007, allocations: 0 / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004008, allocations: 0 / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.004017, allocations: 0 / 295.9 MB, free: 3.102 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.0003694/0.004387, allocations: 352.9 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.004414, allocations: 12.03 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.004443, allocations: 12.92 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.004568, allocations: 153.4 kB / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.004575, allocations: 384 / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.004595, allocations: 8.375 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.814e-05/0.004683, allocations: 54.94 kB / 296.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.004691, allocations: 4.172 kB / 296.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.004699, allocations: 8.125 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.004705, allocations: 4 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.004723, allocations: 4 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.004914, allocations: 187 kB / 296.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.004959, allocations: 30.56 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.004971, allocations: 4.859 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.004987, allocations: 7.938 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.005006, allocations: 34.5 kB / 296.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.005007, allocations: 0 / 296.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004016/0.005408, allocations: 149.5 kB / 296.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.005435, allocations: 55.41 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.00556, allocations: 214.9 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.005571, allocations: 25.7 kB / 297.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.005606, allocations: 100.1 kB / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.00563, allocations: 31.73 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.005658, allocations: 17.7 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.00574, allocations: 326.8 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.005752, allocations: 8 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.005763, allocations: 4 kB / 297.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.005798, allocations: 36.81 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.005799, allocations: 0 / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.951e-05/0.005859, allocations: 69.55 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.005868, allocations: 4 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.005872, allocations: 0 / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.005884, allocations: 4 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.005946, allocations: 19.98 kB / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005949, allocations: 0 / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.005967, allocations: 4 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.005971, allocations: 0 / 297.8 MB, free: 1.031 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 (8): * Single equations (assignments): 8 * 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 5.713e-05/0.006029, allocations: 112.7 kB / 297.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.006048, allocations: 15.92 kB / 298 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.00615, allocations: 79.08 kB / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006153, allocations: 0 / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.006154, allocations: 0 / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.006158, allocations: 3.984 kB / 298 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.006383, allocations: 263.8 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006385, allocations: 0 / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.006424, allocations: 23.92 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.006434, allocations: 11.91 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006437, allocations: 0 / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.006442, allocations: 4.422 kB / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006444, allocations: 4.031 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.006446, allocations: 4 kB / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.817e-05/0.006524, allocations: 164.2 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.006535, allocations: 3.984 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.006568, allocations: 8 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.006593, allocations: 11.97 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.006596, allocations: 0 / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.006652, allocations: 76.88 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006652, allocations: 0 / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.006781, allocations: 19.94 kB / 298.6 MB, free: 176 kB / 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 (8): * Single equations (assignments): 8 * 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.001376/0.008158, allocations: 0.6384 MB / 299.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.061e-05/0.008228, allocations: 28.8 kB / 299.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.008233, allocations: 4 kB / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.008265, allocations: 32.78 kB / 299.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.008456, allocations: 91.3 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.008878, allocations: 256.9 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.008918, allocations: 71.33 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.008951, allocations: 17.28 kB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.009001, allocations: 63.36 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009002, allocations: 4 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Templates: time 0.003083/0.01208, allocations: 1.524 MB / 301.3 MB, free: 13.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8475636253133416]