Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001819/0.002875, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002647, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9641/0.9641, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1612/1.125, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.2098/0.2098, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02476/0.2346, allocations: 12.54 MB / 284.5 MB, free: 9.711 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.603e-05, allocations: 6.25 kB / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002119/0.002135, allocations: 1.714 MB / 287.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.002832, allocations: 462.6 kB / 288.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.002883, allocations: 0 / 288.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.003258, allocations: 495 kB / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.003498, allocations: 279.2 kB / 288.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.003852, allocations: 171.5 kB / 289 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.004084, allocations: 171.6 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.004178, allocations: 19.98 kB / 289.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.004334, allocations: 163.6 kB / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.004491, allocations: 195.6 kB / 289.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.004511, allocations: 4 kB / 289.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.004608, allocations: 47.86 kB / 289.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.004686, allocations: 83.72 kB / 289.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.004723, allocations: 35.75 kB / 289.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.005063, allocations: 195.2 kB / 289.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.005074, allocations: 0 / 289.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005074, allocations: 3.938 kB / 289.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.005085, allocations: 4 kB / 289.9 MB, free: 4.363 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005769/0.005662, allocations: 0.5993 MB / 290.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.005701, allocations: 8.031 kB / 290.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.005751, allocations: 24.91 kB / 290.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.005966, allocations: 246 kB / 290.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.005976, allocations: 8.375 kB / 290.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.006001, allocations: 4.375 kB / 290.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.006116, allocations: 54.95 kB / 290.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006127, allocations: 4.125 kB / 290.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.006137, allocations: 8.125 kB / 290.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006142, allocations: 4 kB / 290.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.006174, allocations: 15.98 kB / 290.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.006471, allocations: 207 kB / 291 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.006528, allocations: 33.42 kB / 291.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.006553, allocations: 8.859 kB / 291.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.006576, allocations: 11.94 kB / 291.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.006597, allocations: 30.56 kB / 291.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006598, allocations: 0 / 291.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004773/0.007076, allocations: 161.5 kB / 291.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.007103, allocations: 55.41 kB / 291.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.007409, allocations: 0.5243 MB / 291.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.007419, allocations: 25.7 kB / 291.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.007477, allocations: 145.2 kB / 292 MB, free: 2.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.0075, allocations: 27.73 kB / 292.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.007559, allocations: 25.64 kB / 292.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.007644, allocations: 366.6 kB / 292.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.007656, allocations: 8 kB / 292.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.007667, allocations: 4 kB / 292.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.007699, allocations: 27.67 kB / 292.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.0077, allocations: 4 kB / 292.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.82e-05/0.007768, allocations: 70.08 kB / 292.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.007779, allocations: 4 kB / 292.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.007782, allocations: 0 / 292.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.007794, allocations: 3.938 kB / 292.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.007854, allocations: 19.98 kB / 292.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.007857, allocations: 0 / 292.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.00788, allocations: 4 kB / 292.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.007886, allocations: 3.984 kB / 292.6 MB, free: 1.484 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 6.605e-05/0.007952, allocations: 120.6 kB / 292.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.007977, allocations: 31.95 kB / 292.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.008086, allocations: 97.48 kB / 292.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008089, allocations: 4 kB / 292.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00809, allocations: 0 / 292.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008094, allocations: 3.984 kB / 292.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.008331, allocations: 299.8 kB / 293.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008332, allocations: 0 / 293.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.008366, allocations: 19.98 kB / 293.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.008388, allocations: 43.75 kB / 293.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.00839, allocations: 0 / 293.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.008394, allocations: 0 / 293.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008395, allocations: 4.078 kB / 293.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.008398, allocations: 3.984 kB / 293.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.008759, allocations: 180.2 kB / 293.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.008774, allocations: 4 kB / 293.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.008811, allocations: 4 kB / 293.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.008838, allocations: 3.984 kB / 293.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.008843, allocations: 4 kB / 293.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.008999, allocations: 283.2 kB / 293.7 MB, free: 344 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008999, allocations: 4 kB / 293.7 MB, free: 340 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.009137, allocations: 35.88 kB / 293.7 MB, free: 304 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.001348/0.01049, allocations: 0.6167 MB / 294.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.107e-05/0.01057, allocations: 36.78 kB / 294.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.01058, allocations: 8 kB / 294.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.01061, allocations: 24.83 kB / 294.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01082, allocations: 116 kB / 294.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.0115, allocations: 0.6067 MB / 295.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.01157, allocations: 123.2 kB / 295.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.778e-05/0.01161, allocations: 17.19 kB / 295.3 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.01166, allocations: 59.36 kB / 295.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01166, allocations: 0 / 295.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of Templates: time 0.003869/0.01553, allocations: 1.737 MB / 297 MB, free: 13.22 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.797407913953066]