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.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.001528/0.001528, allocations: 103.5 kB / 16.45 MB, free: 6.457 MB / 14.72 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.001397/0.001397, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 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.539/1.539, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 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.06706/0.06706, allocations: 14.41 MB / 296.1 MB, free: 8.645 MB / 238.1 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.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(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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 70.88 kB / 415.9 MB, free: 40.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09545, allocations: 52.87 MB / 468.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001809/0.09726, allocations: 489 kB / 469.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000381/0.09764, allocations: 115.6 kB / 469.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.09767, allocations: 0 / 469.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.09769, allocations: 0 / 469.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.09799, allocations: 23.91 kB / 469.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.09799, allocations: 0 / 469.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.142e-05/0.09802, allocations: 3.938 kB / 469.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.09808, allocations: 0 / 469.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.09809, allocations: 8 kB / 469.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.0982, allocations: 7.984 kB / 469.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.09821, allocations: 3.984 kB / 469.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-06/0.09822, allocations: 0 / 469.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-06/0.09822, allocations: 0 / 469.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.012e-05/0.09823, allocations: 4 kB / 469.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.615e-05/0.09827, allocations: 3.938 kB / 469.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09827, allocations: 0 / 469.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09827, allocations: 0 / 469.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.09828, allocations: 0 / 469.4 MB, free: 2.66 MB / 334.1 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.0003547/0.09863, allocations: 323.9 kB / 469.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.09867, allocations: 8.031 kB / 469.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.0987, allocations: 0.9375 kB / 469.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.09883, allocations: 164.3 kB / 469.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.09884, allocations: 4.375 kB / 469.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.09884, allocations: 4.359 kB / 469.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.09896, allocations: 39.98 kB / 469.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.09896, allocations: 4.188 kB / 469.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.09898, allocations: 3.938 kB / 469.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.09898, allocations: 0 / 469.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.09901, allocations: 19.86 kB / 469.9 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.09946, allocations: 455.7 kB / 470.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.09962, allocations: 177.1 kB / 470.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.09966, allocations: 86.39 kB / 470.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.0997, allocations: 75.28 kB / 470.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.0999, allocations: 113.8 kB / 470.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.0999, allocations: 32 / 470.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.405e-05/0.09997, allocations: 29.7 kB / 470.8 MB, free: 1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.1001, allocations: 130.7 kB / 471 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.1002, allocations: 93.86 kB / 471.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1002, allocations: 25.7 kB / 471.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.1002, allocations: 88.08 kB / 471.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.1002, allocations: 0 / 471.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1003, allocations: 21.67 kB / 471.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1004, allocations: 310.8 kB / 471.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.1004, allocations: 8.125 kB / 471.5 MB, free: 296 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.1004, allocations: 13.72 kB / 471.5 MB, free: 276 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.1005, allocations: 21.66 kB / 471.5 MB, free: 248 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1005, allocations: 3.938 kB / 471.6 MB, free: 244 kB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.922e-05/0.1006, allocations: 41.62 kB / 471.6 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1006, allocations: 4.125 kB / 471.6 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1006, allocations: 7.938 kB / 471.6 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1006, allocations: 4 kB / 471.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.1007, allocations: 0 / 471.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1007, allocations: 4 kB / 471.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.1007, allocations: 0 / 471.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1007, allocations: 0 / 471.6 MB, free: 176 kB / 334.1 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 0.0001282/0.1008, allocations: 189.1 kB / 471.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.1009, allocations: 109 kB / 471.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.101, allocations: 112 kB / 472 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-05/0.101, allocations: 176.3 kB / 472.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-05/0.1011, allocations: 184.2 kB / 472.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.073e-05/0.1012, allocations: 180.3 kB / 472.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1015, allocations: 401.2 kB / 472.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.658e-05/0.1016, allocations: 108.9 kB / 473 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.1016, allocations: 105 kB / 473.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.1018, allocations: 180.2 kB / 473.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.1019, allocations: 184.2 kB / 473.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.022e-05/0.102, allocations: 176.3 kB / 473.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-05/0.1021, allocations: 188.2 kB / 473.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.1023, allocations: 315.7 kB / 474.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1024, allocations: 178.1 kB / 474.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.1025, allocations: 184.4 kB / 474.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.1026, allocations: 101 kB / 474.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.1027, allocations: 184.3 kB / 474.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.1027, allocations: 112.9 kB / 474.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.1028, allocations: 79.28 kB / 475 MB, free: 12.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1028, allocations: 0 / 475 MB, free: 12.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.103, allocations: 4 kB / 475 MB, free: 12.57 MB / 350.1 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 0.0001292/0.1031, allocations: 166.5 kB / 475.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.281e-05/0.1032, allocations: 8.094 kB / 475.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1032, allocations: 0 / 475.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.742e-06/0.1032, allocations: 7.938 kB / 475.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.1036, allocations: 458 kB / 475.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.1038, allocations: 160.2 kB / 475.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1041, allocations: 0.673 MB / 476.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.1042, allocations: 4 kB / 476.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.1042, allocations: 11.38 kB / 476.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1042, allocations: 0 / 476.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Templates: time 0.002277/0.1064, allocations: 173.2 kB / 476.6 MB, free: 10.87 MB / 350.1 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.826327947899699]