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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001685/0.001685, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08073/0.08073, allocations: 16.94 MB / 323.2 MB, free: 8.133 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.88 kB / 452 MB, free: 8.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1221, allocations: 56.57 MB / 0.4966 GB, free: 132 kB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001636/0.1238, allocations: 473.3 kB / 0.4971 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003439/0.1241, allocations: 123.6 kB / 0.4972 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1241, allocations: 3.938 kB / 0.4972 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1241, allocations: 0 / 0.4972 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1244, allocations: 31.91 kB / 0.4972 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.1244, allocations: 0 / 0.4972 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.775e-05/0.1245, allocations: 0 / 0.4972 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.1245, allocations: 0 / 0.4972 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.1245, allocations: 4 kB / 0.4972 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1247, allocations: 7.984 kB / 0.4972 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-06/0.1247, allocations: 0 / 0.4972 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-06/0.1247, allocations: 0 / 0.4972 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1247, allocations: 7.984 kB / 0.4972 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.1247, allocations: 7.938 kB / 0.4972 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.384e-05/0.1247, allocations: 0 / 0.4972 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1247, allocations: 7.938 kB / 0.4972 GB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1248, allocations: 0 / 0.4972 GB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1248, allocations: 0 / 0.4972 GB, free: 15.47 MB / 382.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.0002755/0.125, allocations: 238.4 kB / 0.4975 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1251, allocations: 12.88 kB / 0.4975 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.1251, allocations: 4.891 kB / 0.4975 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.146e-05/0.1252, allocations: 118.4 kB / 0.4976 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.1252, allocations: 384 / 0.4976 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.1252, allocations: 384 / 0.4976 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.846e-05/0.1253, allocations: 43.98 kB / 0.4976 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1253, allocations: 192 / 0.4976 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1253, allocations: 7.938 kB / 0.4977 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1253, allocations: 0 / 0.4977 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.1253, allocations: 7.938 kB / 0.4977 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1257, allocations: 434.7 kB / 0.4981 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.1258, allocations: 173.1 kB / 0.4982 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.1259, allocations: 84.2 kB / 0.4983 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1259, allocations: 75.28 kB / 0.4984 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.1259, allocations: 117.8 kB / 0.4985 GB, free: 14.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1259, allocations: 0 / 0.4985 GB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.867e-05/0.126, allocations: 25.7 kB / 0.4985 GB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1261, allocations: 126.7 kB / 0.4986 GB, free: 13.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.1262, allocations: 97.86 kB / 0.4987 GB, free: 13.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1262, allocations: 25.7 kB / 0.4988 GB, free: 13.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.1262, allocations: 88.22 kB / 0.4988 GB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.1262, allocations: 0 / 0.4988 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1263, allocations: 17.7 kB / 0.4989 GB, free: 13.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1264, allocations: 314.8 kB / 0.4992 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.1264, allocations: 7.938 kB / 0.4992 GB, free: 13.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.1264, allocations: 9.719 kB / 0.4992 GB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.1265, allocations: 21.72 kB / 0.4992 GB, free: 13.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1265, allocations: 3.938 kB / 0.4992 GB, free: 13.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.1266, allocations: 45.62 kB / 0.4993 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1266, allocations: 8 kB / 0.4993 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1266, allocations: 0 / 0.4993 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1266, allocations: 0 / 0.4993 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.1267, allocations: 4 kB / 0.4993 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1267, allocations: 0 / 0.4993 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.1267, allocations: 0 / 0.4993 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1267, allocations: 4.062 kB / 0.4993 GB, free: 13.19 MB / 382.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.0001015/0.1268, allocations: 189.1 kB / 0.4994 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.1268, allocations: 101 kB / 0.4995 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.1269, allocations: 124 kB / 0.4997 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.33e-05/0.127, allocations: 180.3 kB / 0.4998 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-05/0.1271, allocations: 184.2 kB / 0.5 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-05/0.1271, allocations: 176.3 kB / 0.5002 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.1274, allocations: 380.2 kB / 0.5005 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/0.1274, allocations: 104.9 kB / 0.5006 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.1275, allocations: 101 kB / 0.5007 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-05/0.1276, allocations: 180.2 kB / 0.5009 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/0.1276, allocations: 184.3 kB / 0.5011 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.256e-05/0.1277, allocations: 180.2 kB / 0.5013 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-05/0.1278, allocations: 180.4 kB / 0.5014 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1279, allocations: 311.7 kB / 0.5017 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.128, allocations: 116.9 kB / 0.5018 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.1281, allocations: 180.3 kB / 0.502 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.1282, allocations: 108.9 kB / 0.5021 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.1282, allocations: 180.3 kB / 0.5023 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.1283, allocations: 108.9 kB / 0.5024 GB, free: 9.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.1283, allocations: 75.28 kB / 0.5025 GB, free: 9.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1283, allocations: 4.094 kB / 0.5025 GB, free: 9.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.1285, allocations: 0 / 0.5025 GB, free: 9.711 MB / 382.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.0001253/0.1287, allocations: 175 kB / 0.5026 GB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.1287, allocations: 8 kB / 0.5026 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1287, allocations: 3.938 kB / 0.5026 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.673e-06/0.1287, allocations: 3.938 kB / 0.5026 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1291, allocations: 466.3 kB / 0.5031 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.1293, allocations: 148.2 kB / 0.5032 GB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1296, allocations: 0.6729 MB / 0.5039 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.427e-05/0.1296, allocations: 4 kB / 0.5039 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.1297, allocations: 7.438 kB / 0.5039 GB, free: 8.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1297, allocations: 0 / 0.5039 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Templates: time 0.001877/0.1315, allocations: 189.1 kB / 0.5041 GB, free: 7.988 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.530475710518658]