Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.001231/0.001231, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002494, 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.0007741/0.0007741, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009638/0.001738, 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.041/1.041, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1178/1.159, 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.3024/0.3024, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03733/0.3397, allocations: 12.53 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.Test26,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.816e-05, allocations: 5.031 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002083/0.002101, allocations: 1.69 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.002891, allocations: 0.5595 MB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.002951, allocations: 2.312 kB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.003137, allocations: 80.53 kB / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.003333, allocations: 111.6 kB / 293.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.003592, allocations: 113 kB / 293.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.003742, allocations: 83.48 kB / 293.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.00384, allocations: 22.77 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.003949, allocations: 65.58 kB / 293.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.004054, allocations: 43.89 kB / 293.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004069, allocations: 4 kB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.004151, allocations: 47.91 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.004199, allocations: 19.92 kB / 293.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.004227, allocations: 15.94 kB / 293.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.004378, allocations: 87.62 kB / 293.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-05/0.004396, allocations: 0 / 293.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004396, allocations: 0 / 293.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.004414, allocations: 0 / 293.6 MB, free: 5.336 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.000435/0.004849, allocations: 328.6 kB / 293.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.00488, allocations: 8.031 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.004909, allocations: 4.938 kB / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.005064, allocations: 154.1 kB / 294.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.005073, allocations: 4.375 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.005091, allocations: 4.375 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.754e-05/0.005188, allocations: 58.94 kB / 294.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005199, allocations: 4.188 kB / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.005207, allocations: 4.125 kB / 294.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005213, allocations: 0 / 294.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.005237, allocations: 7.984 kB / 294.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.005462, allocations: 179 kB / 294.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.577e-05/0.005518, allocations: 33.34 kB / 294.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.005537, allocations: 12.95 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.005563, allocations: 3.984 kB / 294.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.005591, allocations: 42.5 kB / 294.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.005592, allocations: 0 / 294.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004667/0.006059, allocations: 141.8 kB / 294.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.006093, allocations: 55.41 kB / 294.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.006208, allocations: 184.7 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.00622, allocations: 25.7 kB / 294.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.006256, allocations: 96.81 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.006283, allocations: 31.73 kB / 294.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.006311, allocations: 25.7 kB / 295 MB, free: 3.809 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.006397, allocations: 322.8 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.00641, allocations: 4 kB / 295.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.006424, allocations: 12.06 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.00646, allocations: 35.8 kB / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006461, allocations: 0 / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.578e-05/0.006527, allocations: 57.56 kB / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.00654, allocations: 7.984 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.006546, allocations: 8 kB / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.006556, allocations: 0 / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.006626, allocations: 12 kB / 295.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.006631, allocations: 7.984 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.006648, allocations: 8 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006652, allocations: 0 / 295.4 MB, free: 3.324 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.209e-05/0.006714, allocations: 112.7 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.006734, allocations: 15.92 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.006835, allocations: 75.08 kB / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006837, allocations: 0 / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006838, allocations: 0 / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006841, allocations: 0 / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.007061, allocations: 259.4 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.007063, allocations: 4 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.0071, allocations: 15.98 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.00711, allocations: 11.91 kB / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007112, allocations: 0 / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.007117, allocations: 0 / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.007117, allocations: 4 kB / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007119, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.816e-05/0.007207, allocations: 168.2 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.007217, allocations: 0 / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.007249, allocations: 4 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.007276, allocations: 16.02 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.007279, allocations: 0 / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.9e-05/0.007318, allocations: 55.64 kB / 296.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007318, allocations: 0 / 296.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.007451, allocations: 23.94 kB / 296.2 MB, free: 2.508 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 (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.001479/0.00893, allocations: 0.6333 MB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.009014, allocations: 44.7 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.009019, allocations: 0 / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/0.009046, allocations: 24.78 kB / 296.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.009231, allocations: 30.36 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.009711, allocations: 235.7 kB / 297.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.009756, allocations: 63.34 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.77e-05/0.009794, allocations: 17.02 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.009853, allocations: 63.36 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009854, allocations: 0 / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of Templates: time 0.003204/0.01306, allocations: 1.54 MB / 298.8 MB, free: 192 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.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.169544114731252]