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.002029/0.002029, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00253/0.00253, allocations: 212 kB / 22.25 MB, free: 5.258 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.797 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.09708/0.09708, allocations: 16.93 MB / 329.4 MB, free: 2.41 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.002053/0.002053, allocations: 67.91 kB / 460.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1201, allocations: 57.74 MB / 0.5059 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001722/0.1218, allocations: 489.1 kB / 0.5064 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00037/0.1222, allocations: 109.7 kB / 0.5065 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.1222, allocations: 0 / 0.5065 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1222, allocations: 4 kB / 0.5065 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.1225, allocations: 27.91 kB / 0.5065 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.89e-06/0.1225, allocations: 0 / 0.5065 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.44e-05/0.1225, allocations: 7.938 kB / 0.5066 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.1226, allocations: 0 / 0.5066 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.1226, allocations: 0 / 0.5066 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1227, allocations: 15.92 kB / 0.5066 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.1227, allocations: 4 kB / 0.5066 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-06/0.1227, allocations: 0 / 0.5066 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.1227, allocations: 0 / 0.5066 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.025e-05/0.1228, allocations: 0 / 0.5066 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.614e-05/0.1228, allocations: 3.938 kB / 0.5066 GB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1228, allocations: 0 / 0.5066 GB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1228, allocations: 4 kB / 0.5066 GB, free: 7.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1228, allocations: 0 / 0.5066 GB, free: 7.383 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.0002979/0.1231, allocations: 238.4 kB / 0.5068 GB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1231, allocations: 8.031 kB / 0.5068 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1232, allocations: 4.938 kB / 0.5068 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.902e-05/0.1233, allocations: 106.5 kB / 0.5069 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1233, allocations: 4.375 kB / 0.5069 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.1233, allocations: 384 / 0.5069 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1234, allocations: 51.89 kB / 0.507 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1234, allocations: 192 / 0.507 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1234, allocations: 3.938 kB / 0.507 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1234, allocations: 0 / 0.507 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.1235, allocations: 8 kB / 0.507 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1238, allocations: 411.2 kB / 0.5074 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.124, allocations: 173.2 kB / 0.5075 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.124, allocations: 92.02 kB / 0.5076 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.1241, allocations: 75.28 kB / 0.5077 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/0.1241, allocations: 113.8 kB / 0.5078 GB, free: 5.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1241, allocations: 0 / 0.5078 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.134e-05/0.1242, allocations: 33.64 kB / 0.5078 GB, free: 5.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.1243, allocations: 126.7 kB / 0.508 GB, free: 5.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.1244, allocations: 93.86 kB / 0.5081 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1244, allocations: 25.7 kB / 0.5081 GB, free: 5.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1245, allocations: 88.08 kB / 0.5082 GB, free: 5.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.1245, allocations: 0 / 0.5082 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.1245, allocations: 21.84 kB / 0.5082 GB, free: 5.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1247, allocations: 310.8 kB / 0.5085 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.1247, allocations: 4 kB / 0.5085 GB, free: 5.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.1247, allocations: 9.719 kB / 0.5085 GB, free: 5.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.1247, allocations: 21.66 kB / 0.5085 GB, free: 5.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1247, allocations: 0 / 0.5085 GB, free: 5.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001086/0.1248, allocations: 45.58 kB / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1248, allocations: 8.125 kB / 0.5086 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1248, allocations: 4 kB / 0.5086 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1249, allocations: 0 / 0.5086 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.1249, allocations: 4 kB / 0.5086 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1249, allocations: 3.938 kB / 0.5086 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.125, allocations: 0 / 0.5086 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.125, allocations: 4 kB / 0.5086 GB, free: 5.133 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.0001342/0.1251, allocations: 189.1 kB / 0.5088 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.1252, allocations: 116.8 kB / 0.5089 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.1252, allocations: 108.2 kB / 0.509 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.25e-05/0.1253, allocations: 180.2 kB / 0.5092 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.279e-05/0.1254, allocations: 184.3 kB / 0.5093 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.341e-05/0.1255, allocations: 180.2 kB / 0.5095 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.1258, allocations: 356.9 kB / 0.5098 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.248e-05/0.1258, allocations: 104.9 kB / 0.5099 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.1259, allocations: 104.9 kB / 0.51 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.523e-05/0.126, allocations: 180.3 kB / 0.5102 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.1261, allocations: 184.2 kB / 0.5104 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001476/0.1262, allocations: 180.3 kB / 0.5106 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.003e-05/0.1263, allocations: 188.4 kB / 0.5107 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1265, allocations: 299.8 kB / 0.511 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.1266, allocations: 120.8 kB / 0.5111 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.1266, allocations: 180.3 kB / 0.5113 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.1267, allocations: 104.9 kB / 0.5114 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.1268, allocations: 180.3 kB / 0.5116 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.1269, allocations: 105 kB / 0.5117 GB, free: 1.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.518e-05/0.1269, allocations: 79.27 kB / 0.5118 GB, free: 1.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1269, allocations: 0 / 0.5118 GB, free: 1.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1272, allocations: 4 kB / 0.5118 GB, free: 1.688 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.0001365/0.1273, allocations: 171 kB / 0.5119 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.353e-05/0.1274, allocations: 8.094 kB / 0.5119 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1274, allocations: 0 / 0.5119 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.1274, allocations: 4 kB / 0.5119 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.1278, allocations: 451.7 kB / 0.5124 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.1281, allocations: 164.2 kB / 0.5125 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.1281, allocations: 59.22 kB / 0.5126 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.449e-05/0.1282, allocations: 0 / 0.5126 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.1282, allocations: 7.438 kB / 0.5126 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1282, allocations: 0 / 0.5126 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of Templates: time 0.002113/0.1303, allocations: 173.3 kB / 0.5128 GB, free: 0.6094 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.889581931289285]