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.001734/0.001734, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00255/0.00255, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.689/1.689, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.0705/0.0705, allocations: 14.4 MB / 299.7 MB, free: 7.246 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.89 kB / 421.1 MB, free: 38.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1125, allocations: 52.91 MB / 474 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002039/0.1146, allocations: 491.4 kB / 474.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004135/0.115, allocations: 116.1 kB / 474.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.115, allocations: 0 / 474.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.115, allocations: 0 / 474.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.1153, allocations: 15.92 kB / 474.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.1154, allocations: 4 kB / 474.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.1154, allocations: 4 kB / 474.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.1154, allocations: 3.984 kB / 474.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.1155, allocations: 0 / 474.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.1157, allocations: 11.98 kB / 474.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-06/0.1157, allocations: 0 / 474.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-06/0.1157, allocations: 0 / 474.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.1157, allocations: 3.938 kB / 474.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.1157, allocations: 0 / 474.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.216e-05/0.1158, allocations: 4 kB / 474.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1158, allocations: 4 kB / 474.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1158, allocations: 0 / 474.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1158, allocations: 0 / 474.6 MB, free: 0.9609 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.0003159/0.1161, allocations: 242.4 kB / 474.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1161, allocations: 8.031 kB / 474.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1162, allocations: 0.9375 kB / 474.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/0.1163, allocations: 110.5 kB / 475 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1163, allocations: 384 / 475 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.1163, allocations: 4.312 kB / 475 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1164, allocations: 43.98 kB / 475 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1164, allocations: 192 / 475 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1164, allocations: 7.938 kB / 475.1 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1165, allocations: 8 kB / 475.1 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.1165, allocations: 7.922 kB / 475.1 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1169, allocations: 411.4 kB / 475.5 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.117, allocations: 169.1 kB / 475.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1171, allocations: 84.08 kB / 475.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1171, allocations: 75.28 kB / 475.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.1172, allocations: 117.8 kB / 475.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1172, allocations: 3.938 kB / 475.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.804e-05/0.1172, allocations: 25.7 kB / 475.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.1173, allocations: 130.7 kB / 476.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.1174, allocations: 101.8 kB / 476.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1174, allocations: 25.7 kB / 476.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1175, allocations: 88.09 kB / 476.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.1175, allocations: 0 / 476.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1175, allocations: 13.7 kB / 476.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1177, allocations: 314.8 kB / 476.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.1177, allocations: 0 / 476.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.1177, allocations: 21.66 kB / 476.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.1178, allocations: 17.91 kB / 476.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1178, allocations: 0 / 476.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.1179, allocations: 49.56 kB / 476.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1179, allocations: 4 kB / 476.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.1179, allocations: 0 / 476.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1179, allocations: 0 / 476.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.118, allocations: 4 kB / 476.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.118, allocations: 0 / 476.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.118, allocations: 4 kB / 476.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.118, allocations: 4.062 kB / 476.7 MB, free: 14.71 MB / 350.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.0001406/0.1182, allocations: 181.1 kB / 476.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.1182, allocations: 112.9 kB / 477 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.1183, allocations: 112.1 kB / 477.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.482e-05/0.1184, allocations: 184.3 kB / 477.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.751e-05/0.1185, allocations: 180.2 kB / 477.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.988e-05/0.1186, allocations: 176.3 kB / 477.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1188, allocations: 356.8 kB / 478 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-05/0.1189, allocations: 105 kB / 478.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.119, allocations: 108.9 kB / 478.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.641e-05/0.119, allocations: 188.2 kB / 478.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.1191, allocations: 180.2 kB / 478.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001425/0.1193, allocations: 188.2 kB / 478.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001635/0.1194, allocations: 176.3 kB / 478.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1197, allocations: 303.8 kB / 479.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.1198, allocations: 108.9 kB / 479.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1199, allocations: 188.4 kB / 479.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1201, allocations: 101 kB / 479.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.1201, allocations: 192.3 kB / 479.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/0.1202, allocations: 104.9 kB / 479.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.1203, allocations: 79.28 kB / 479.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1203, allocations: 0 / 479.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1205, allocations: 4 kB / 480 MB, free: 11.26 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.0001399/0.1206, allocations: 166.5 kB / 480.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.1207, allocations: 4 kB / 480.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1207, allocations: 0 / 480.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.1207, allocations: 7.938 kB / 480.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1212, allocations: 455.7 kB / 480.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.1214, allocations: 160.4 kB / 480.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.985e-05/0.1215, allocations: 63.34 kB / 480.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.752e-05/0.1215, allocations: 0 / 480.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.1215, allocations: 7.438 kB / 480.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1215, allocations: 0 / 480.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Templates: time 0.002211/0.1237, allocations: 173.2 kB / 481 MB, free: 10.18 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: 5.057654952630401]