Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0008776/0.0008776, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0009619/0.0009619, allocations: 170.4 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.9928/0.9928, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.1564/0.1564, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.186e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.005706/0.005738, allocations: 1.645 MB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008501/0.006588, allocations: 0.5375 MB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.006663, allocations: 4 kB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.006978, allocations: 119.6 kB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.007307, allocations: 131.5 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.007629, allocations: 123.5 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.007841, allocations: 95.73 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.007946, allocations: 11.98 kB / 379.9 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.01104, allocations: 59.86 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.01117, allocations: 87.83 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.01119, allocations: 4 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.0113, allocations: 43.92 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.01135, allocations: 23.92 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.01138, allocations: 23.86 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.01155, allocations: 99.59 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.01156, allocations: 4 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01156, allocations: 0 / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.01156, allocations: 0 / 380.3 MB, free: 22.55 MB / 314.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.0003685/0.01193, allocations: 471.6 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.01197, allocations: 15.98 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.01202, allocations: 16.84 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.01215, allocations: 156.3 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.01216, allocations: 4.375 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.01218, allocations: 4.375 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.215e-05/0.01227, allocations: 58.94 kB / 381 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01228, allocations: 4.172 kB / 381 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.01229, allocations: 8.125 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.01229, allocations: 0 / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.01232, allocations: 8 kB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.01259, allocations: 288.3 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/0.01264, allocations: 35.05 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.01266, allocations: 11.69 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.01267, allocations: 4 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.01269, allocations: 37.33 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.01269, allocations: 0 / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005047/0.0132, allocations: 169.4 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.01322, allocations: 51.41 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01336, allocations: 270.7 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.01336, allocations: 25.7 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.01341, allocations: 170.8 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.01344, allocations: 31.73 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.01348, allocations: 31.3 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.01354, allocations: 0.504 MB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.01355, allocations: 7.984 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.01357, allocations: 8 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.01362, allocations: 35.67 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01362, allocations: 3.938 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000105/0.01373, allocations: 81.52 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01374, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01375, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01376, allocations: 4 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.01687, allocations: 15.98 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01687, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.01691, allocations: 4 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.01692, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.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 7.166e-05/0.01699, allocations: 160.5 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.01702, allocations: 19.91 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.0172, allocations: 91.06 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.0172, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.0172, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01721, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.01754, allocations: 357.5 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01755, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.0176, allocations: 19.98 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.0176, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.01761, allocations: 8 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01761, allocations: 0 / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.01762, allocations: 4.5 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.01773, allocations: 239.8 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.01775, allocations: 11.91 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.01777, allocations: 7.984 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.01782, allocations: 4 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.01785, allocations: 7.984 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01786, allocations: 3.984 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.457e-05/0.01793, allocations: 188.1 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01793, allocations: 0 / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.01818, allocations: 27.88 kB / 383.9 MB, free: 18.64 MB / 314.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.001089/0.01927, allocations: 434.3 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01938, allocations: 35.61 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01938, allocations: 0 / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.01941, allocations: 31.61 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.02271, allocations: 30.62 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.02312, allocations: 261.2 kB / 384.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.02316, allocations: 75.19 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.02321, allocations: 17.02 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.02326, allocations: 82.2 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02327, allocations: 0 / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of Templates: time 0.007223/0.03049, allocations: 1.578 MB / 386.4 MB, free: 16.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.1514339158311486]