Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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.001844/0.001844, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002811/0.002811, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 158.6 MB / 184.6 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06947/0.06947, allocations: 10.65 MB / 247.5 MB, free: 4.516 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 4 kB / 316.3 MB, free: 42.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.382e-05, allocations: 2.312 kB / 316.3 MB, free: 42.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001518/0.001552, allocations: 0.4937 MB / 316.8 MB, free: 41.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003143/0.001866, allocations: 111.6 kB / 316.9 MB, free: 41.78 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.001895, allocations: 0 / 316.9 MB, free: 41.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.001908, allocations: 0 / 316.9 MB, free: 41.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.002198, allocations: 27.19 kB / 316.9 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.466e-06/0.002202, allocations: 0 / 316.9 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.002243, allocations: 4 kB / 316.9 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.002291, allocations: 7.906 kB / 316.9 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.002312, allocations: 0.7969 kB / 316.9 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.002443, allocations: 13.58 kB / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.002451, allocations: 0 / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-06/0.002455, allocations: 0 / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-06/0.002462, allocations: 0 / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.002477, allocations: 0 / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.213e-05/0.00253, allocations: 0.6875 kB / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.002534, allocations: 4.562 kB / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.002535, allocations: 3.938 kB / 316.9 MB, free: 41.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.00254, allocations: 4 kB / 316.9 MB, free: 41.72 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002342/0.002774, allocations: 240.4 kB / 317.2 MB, free: 41.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.00281, allocations: 8.031 kB / 317.2 MB, free: 41.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.002857, allocations: 1.734 kB / 317.2 MB, free: 41.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.07e-05/0.002907, allocations: 106.5 kB / 317.3 MB, free: 41.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.002919, allocations: 384 / 317.3 MB, free: 41.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.002926, allocations: 384 / 317.3 MB, free: 41.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.003017, allocations: 41.39 kB / 317.3 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.003025, allocations: 4.188 kB / 317.3 MB, free: 41.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.003034, allocations: 4.375 kB / 317.3 MB, free: 41.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.003041, allocations: 1.25 kB / 317.3 MB, free: 41.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.003063, allocations: 12.58 kB / 317.3 MB, free: 41.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.003302, allocations: 409.3 kB / 317.7 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.003353, allocations: 169.9 kB / 317.9 MB, free: 40.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.003376, allocations: 84.08 kB / 318 MB, free: 40.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.003393, allocations: 76.03 kB / 318.1 MB, free: 40.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.003419, allocations: 109.8 kB / 318.2 MB, free: 40.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.00342, allocations: 0 / 318.2 MB, free: 40.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 8.09e-05/0.0035, allocations: 32.2 kB / 318.2 MB, free: 40.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.003531, allocations: 135.9 kB / 318.3 MB, free: 40.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.003589, allocations: 94.38 kB / 318.4 MB, free: 40.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.003595, allocations: 25.7 kB / 318.5 MB, free: 40.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.003627, allocations: 89.06 kB / 318.5 MB, free: 39.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.00363, allocations: 0 / 318.5 MB, free: 39.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.003654, allocations: 18.47 kB / 318.6 MB, free: 39.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.003709, allocations: 311.5 kB / 318.9 MB, free: 39.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.003719, allocations: 7.938 kB / 318.9 MB, free: 39.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.003728, allocations: 10.38 kB / 318.9 MB, free: 39.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.003756, allocations: 26.56 kB / 318.9 MB, free: 39.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003758, allocations: 0 / 318.9 MB, free: 39.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/0.003858, allocations: 43.33 kB / 319 MB, free: 39.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.003872, allocations: 8.828 kB / 319 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.003878, allocations: 1.016 kB / 319 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.003897, allocations: 0 / 319 MB, free: 39.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.003952, allocations: 4.844 kB / 319 MB, free: 39.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.003957, allocations: 3.938 kB / 319 MB, free: 39.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.003973, allocations: 8.016 kB / 319 MB, free: 39.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.003977, allocations: 4 kB / 319 MB, free: 39.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.089e-05/0.004028, allocations: 185.9 kB / 319.2 MB, free: 39.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.00407, allocations: 113.6 kB / 319.3 MB, free: 39.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.004104, allocations: 113.5 kB / 319.4 MB, free: 39.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/0.004136, allocations: 180.9 kB / 319.6 MB, free: 38.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.269e-05/0.004169, allocations: 181.2 kB / 319.7 MB, free: 38.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/0.004201, allocations: 176.4 kB / 319.9 MB, free: 38.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.004339, allocations: 360.8 kB / 320.3 MB, free: 38.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.004354, allocations: 101 kB / 320.4 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.004369, allocations: 104.9 kB / 320.5 MB, free: 37.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-05/0.004392, allocations: 188.4 kB / 320.7 MB, free: 37.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.004418, allocations: 176.3 kB / 320.8 MB, free: 37.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.656e-05/0.004444, allocations: 192.2 kB / 321 MB, free: 37.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-05/0.004468, allocations: 180.3 kB / 321.2 MB, free: 37.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.018e-05/0.004528, allocations: 303.8 kB / 321.5 MB, free: 36.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.004547, allocations: 105 kB / 321.6 MB, free: 36.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.004583, allocations: 184.2 kB / 321.8 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.004637, allocations: 104.9 kB / 321.9 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.004667, allocations: 188.2 kB / 322.1 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.004682, allocations: 105 kB / 322.2 MB, free: 36.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.8e-05/0.0047, allocations: 79.28 kB / 322.2 MB, free: 36.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0047, allocations: 0 / 322.2 MB, free: 36.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.004935, allocations: 4 kB / 322.2 MB, free: 36.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 7.035e-05/0.005006, allocations: 162.5 kB / 322.4 MB, free: 35.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.239e-05/0.005068, allocations: 11.94 kB / 322.4 MB, free: 35.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00507, allocations: 0 / 322.4 MB, free: 35.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.005071, allocations: 4 kB / 322.4 MB, free: 35.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.00536, allocations: 453.4 kB / 322.9 MB, free: 35.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.005545, allocations: 166.2 kB / 323 MB, free: 35.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.005575, allocations: 55.36 kB / 323.1 MB, free: 35.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.005591, allocations: 0 / 323.1 MB, free: 35.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.005617, allocations: 8.5 kB / 323.1 MB, free: 35.17 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005618, allocations: 0 / 323.1 MB, free: 35.17 MB / 282.7 MB Notification: Performance of Templates: time 0.002236/0.007854, allocations: 207.9 kB / 323.3 MB, free: 34.97 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.742759731016122]