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.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.001282/0.001282, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 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.001447/0.001447, allocations: 219.9 kB / 22.26 MB, free: 5.211 MB / 14.72 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 1.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.996 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.07809/0.07809, allocations: 16.96 MB / 329.4 MB, free: 2.559 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.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(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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 71.88 kB / 460.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1142, allocations: 57.74 MB / 0.5061 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001948/0.1161, allocations: 481.2 kB / 0.5065 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003919/0.1165, allocations: 145.4 kB / 0.5067 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1166, allocations: 0 / 0.5067 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.1166, allocations: 0 / 0.5067 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.1169, allocations: 26.3 kB / 0.5067 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.677e-06/0.1169, allocations: 0 / 0.5067 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.334e-05/0.1169, allocations: 0 / 0.5067 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.1169, allocations: 3.984 kB / 0.5067 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.117, allocations: 4 kB / 0.5067 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1171, allocations: 11.98 kB / 0.5067 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-06/0.1171, allocations: 0 / 0.5067 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-06/0.1171, allocations: 0 / 0.5067 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.1171, allocations: 0 / 0.5067 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.1171, allocations: 7.938 kB / 0.5067 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.575e-05/0.1171, allocations: 0 / 0.5067 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1172, allocations: 0 / 0.5067 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1172, allocations: 0 / 0.5067 GB, free: 7.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1172, allocations: 0 / 0.5067 GB, free: 7.457 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.0002835/0.1174, allocations: 246.4 kB / 0.507 GB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1175, allocations: 8.031 kB / 0.507 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.1175, allocations: 0.9375 kB / 0.507 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.1176, allocations: 110.5 kB / 0.5071 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1176, allocations: 384 / 0.5071 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.1176, allocations: 384 / 0.5071 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1177, allocations: 43.98 kB / 0.5071 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1177, allocations: 192 / 0.5071 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1178, allocations: 11.92 kB / 0.5071 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1178, allocations: 0 / 0.5071 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.1178, allocations: 11.92 kB / 0.5071 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.1181, allocations: 426.8 kB / 0.5075 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1183, allocations: 173.1 kB / 0.5077 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.1183, allocations: 88.19 kB / 0.5078 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.1183, allocations: 79.28 kB / 0.5079 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.1184, allocations: 109.8 kB / 0.508 GB, free: 6.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.1184, allocations: 0 / 0.508 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.766e-05/0.1185, allocations: 25.7 kB / 0.508 GB, free: 6.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.1186, allocations: 134.6 kB / 0.5081 GB, free: 5.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.1187, allocations: 97.86 kB / 0.5082 GB, free: 5.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1187, allocations: 25.7 kB / 0.5082 GB, free: 5.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.1188, allocations: 88.08 kB / 0.5083 GB, free: 5.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-06/0.1188, allocations: 0 / 0.5083 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.1188, allocations: 13.72 kB / 0.5083 GB, free: 5.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1189, allocations: 314.8 kB / 0.5086 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.1189, allocations: 4 kB / 0.5086 GB, free: 5.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.1189, allocations: 17.84 kB / 0.5087 GB, free: 5.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.119, allocations: 17.66 kB / 0.5087 GB, free: 5.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.119, allocations: 3.938 kB / 0.5087 GB, free: 5.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.1191, allocations: 45.62 kB / 0.5087 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1191, allocations: 8 kB / 0.5087 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1191, allocations: 0 / 0.5087 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1191, allocations: 4.125 kB / 0.5087 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.1192, allocations: 4 kB / 0.5087 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1192, allocations: 0 / 0.5087 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.1192, allocations: 3.953 kB / 0.5087 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.1192, allocations: 0 / 0.5087 GB, free: 5.172 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.0001134/0.1193, allocations: 189.6 kB / 0.5089 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.1194, allocations: 105 kB / 0.509 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.1195, allocations: 116.1 kB / 0.5091 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.287e-05/0.1196, allocations: 184.3 kB / 0.5093 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.662e-05/0.1196, allocations: 180.2 kB / 0.5095 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-05/0.1197, allocations: 176.3 kB / 0.5097 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.12, allocations: 380.2 kB / 0.51 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/0.12, allocations: 105 kB / 0.5101 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.1201, allocations: 109 kB / 0.5102 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.57e-05/0.1202, allocations: 180.2 kB / 0.5104 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/0.1202, allocations: 184.2 kB / 0.5106 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.287e-05/0.1203, allocations: 180.2 kB / 0.5107 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.579e-05/0.1204, allocations: 176.5 kB / 0.5109 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1206, allocations: 319.7 kB / 0.5112 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.1206, allocations: 101 kB / 0.5113 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/0.1207, allocations: 184.2 kB / 0.5115 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.1208, allocations: 101 kB / 0.5116 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.1209, allocations: 188.2 kB / 0.5118 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.121, allocations: 116.9 kB / 0.5119 GB, free: 1.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.279e-05/0.121, allocations: 75.28 kB / 0.5119 GB, free: 1.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.121, allocations: 0 / 0.5119 GB, free: 1.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1212, allocations: 0 / 0.5119 GB, free: 1.695 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.0001397/0.1214, allocations: 166.5 kB / 0.5121 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.802e-05/0.1214, allocations: 4 kB / 0.5121 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1214, allocations: 4.219 kB / 0.5121 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.1214, allocations: 3.938 kB / 0.5121 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1218, allocations: 466.6 kB / 0.5126 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.1221, allocations: 156.1 kB / 0.5127 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1224, allocations: 0.669 MB / 0.5134 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.1224, allocations: 8 kB / 0.5134 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.1224, allocations: 7.438 kB / 0.5134 GB, free: 164 kB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1224, allocations: 0 / 0.5134 GB, free: 164 kB / 382.1 MB Notification: Performance of Templates: time 0.2027/0.3251, allocations: 170.6 kB / 0.5135 GB, free: 15.91 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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] 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 [Calling sys.exit(0), Time elapsed: 4.6845775111578405]