Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 249.9 MB, free: 3.191 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07914/0.07914, allocations: 16.95 MB / 322 MB, free: 12.75 MB / 254.1 MB [Timeout remaining time 90] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 65.45 kB / 450 MB, free: 44.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09915, allocations: 56.52 MB / 0.4946 GB, free: 17.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001717/0.1009, allocations: 490.8 kB / 0.4951 GB, free: 17.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.1012, allocations: 124.8 kB / 0.4952 GB, free: 17.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.1012, allocations: 0 / 0.4952 GB, free: 17.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.1012, allocations: 5.188 kB / 0.4952 GB, free: 17.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1015, allocations: 30.34 kB / 0.4952 GB, free: 17.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.616e-06/0.1015, allocations: 0 / 0.4952 GB, free: 17.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.459e-05/0.1015, allocations: 1.344 kB / 0.4952 GB, free: 17.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.1016, allocations: 1.312 kB / 0.4952 GB, free: 17.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.1016, allocations: 1.75 kB / 0.4952 GB, free: 17.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1017, allocations: 13.94 kB / 0.4953 GB, free: 17.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-06/0.1017, allocations: 1.188 kB / 0.4953 GB, free: 17.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-06/0.1017, allocations: 3.938 kB / 0.4953 GB, free: 17.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-06/0.1018, allocations: 4 kB / 0.4953 GB, free: 17.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.097e-05/0.1018, allocations: 0 / 0.4953 GB, free: 17.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 3.856e-05/0.1018, allocations: 1.25 kB / 0.4953 GB, free: 17.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1018, allocations: 0 / 0.4953 GB, free: 17.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1018, allocations: 3.938 kB / 0.4953 GB, free: 17.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1018, allocations: 1.094 kB / 0.4953 GB, free: 17.12 MB / 366.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.0002208/0.102, allocations: 311.2 kB / 0.4956 GB, free: 16.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1021, allocations: 9.625 kB / 0.4956 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.1021, allocations: 4.891 kB / 0.4956 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.416e-05/0.1022, allocations: 168.4 kB / 0.4957 GB, free: 16.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1022, allocations: 5.781 kB / 0.4958 GB, free: 16.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.1022, allocations: 1.781 kB / 0.4958 GB, free: 16.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.1023, allocations: 42.83 kB / 0.4958 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1023, allocations: 192 / 0.4958 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1023, allocations: 3.938 kB / 0.4958 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1023, allocations: 1.219 kB / 0.4958 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.1023, allocations: 2.5 kB / 0.4958 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1026, allocations: 471.5 kB / 0.4963 GB, free: 16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/0.1026, allocations: 174.7 kB / 0.4964 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.1026, allocations: 84.08 kB / 0.4965 GB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1027, allocations: 79.28 kB / 0.4966 GB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1027, allocations: 111.1 kB / 0.4967 GB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.1027, allocations: 3.938 kB / 0.4967 GB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.565e-05/0.1027, allocations: 30.97 kB / 0.4967 GB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1028, allocations: 128 kB / 0.4968 GB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.1028, allocations: 92.58 kB / 0.4969 GB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.1028, allocations: 25.7 kB / 0.497 GB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.1029, allocations: 97.38 kB / 0.497 GB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.1029, allocations: 0 / 0.497 GB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.1029, allocations: 12.94 kB / 0.4971 GB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.1029, allocations: 314.8 kB / 0.4974 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-06/0.103, allocations: 1.375 kB / 0.4974 GB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.103, allocations: 12.41 kB / 0.4974 GB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.103, allocations: 24.53 kB / 0.4974 GB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.103, allocations: 5.188 kB / 0.4974 GB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.083e-05/0.1031, allocations: 37.58 kB / 0.4974 GB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1031, allocations: 9.578 kB / 0.4974 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1031, allocations: 3.984 kB / 0.4974 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1031, allocations: 1.375 kB / 0.4974 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.1032, allocations: 2.75 kB / 0.4974 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1032, allocations: 1.656 kB / 0.4975 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.1032, allocations: 8.062 kB / 0.4975 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1032, allocations: 1.438 kB / 0.4975 GB, free: 14.7 MB / 366.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 4.726e-05/0.1032, allocations: 186.2 kB / 0.4976 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.1033, allocations: 103.2 kB / 0.4977 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.1033, allocations: 113.1 kB / 0.4978 GB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.1033, allocations: 180.2 kB / 0.498 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/0.1034, allocations: 189.3 kB / 0.4982 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.1034, allocations: 177.3 kB / 0.4984 GB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1035, allocations: 403.3 kB / 0.4988 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.1035, allocations: 106.1 kB / 0.4989 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-05/0.1035, allocations: 102.1 kB / 0.4989 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-05/0.1036, allocations: 185.5 kB / 0.4991 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.1036, allocations: 180.3 kB / 0.4993 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.561e-05/0.1036, allocations: 181.4 kB / 0.4995 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.568e-05/0.1036, allocations: 189.2 kB / 0.4997 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.045e-05/0.1037, allocations: 307 kB / 0.4999 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.1037, allocations: 191.1 kB / 0.5001 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.1038, allocations: 178.7 kB / 0.5003 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.1038, allocations: 104.9 kB / 0.5004 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1039, allocations: 177.2 kB / 0.5006 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.1039, allocations: 106.4 kB / 0.5007 GB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.343e-05/0.1039, allocations: 89.36 kB / 0.5008 GB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1039, allocations: 0 / 0.5008 GB, free: 11.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1042, allocations: 1.125 kB / 0.5008 GB, free: 11.13 MB / 366.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 8.206e-05/0.1043, allocations: 165.6 kB / 0.5009 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.293e-05/0.1043, allocations: 4.469 kB / 0.5009 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1044, allocations: 0 / 0.5009 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.1044, allocations: 1.031 kB / 0.5009 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1046, allocations: 468.8 kB / 0.5014 GB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.1048, allocations: 180.5 kB / 0.5015 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.1049, allocations: 0.6779 MB / 0.5022 GB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.1049, allocations: 7.438 kB / 0.5022 GB, free: 9.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1049, allocations: 0 / 0.5022 GB, free: 9.59 MB / 366.1 MB Notification: Performance of Templates: time 0.00169/0.1066, allocations: 347.9 kB / 0.5025 GB, free: 9.426 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches