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.002122/0.002122, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002499/0.002499, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.789 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.08226/0.08226, allocations: 16.92 MB / 329.4 MB, free: 2.391 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.002185/0.002185, allocations: 67.91 kB / 460.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 57.73 MB / 0.5059 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001704/0.1305, allocations: 487.3 kB / 0.5064 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003562/0.1309, allocations: 117.6 kB / 0.5065 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.1309, allocations: 0 / 0.5065 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1309, allocations: 0 / 0.5065 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1312, allocations: 27.86 kB / 0.5065 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.446e-06/0.1312, allocations: 0 / 0.5065 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.016e-05/0.1312, allocations: 7.875 kB / 0.5066 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1313, allocations: 7.984 kB / 0.5066 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.1313, allocations: 4 kB / 0.5066 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1314, allocations: 7.984 kB / 0.5066 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-06/0.1314, allocations: 0 / 0.5066 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-06/0.1314, allocations: 0 / 0.5066 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-06/0.1314, allocations: 4 kB / 0.5066 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.015e-05/0.1314, allocations: 0 / 0.5066 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.869e-05/0.1314, allocations: 3.938 kB / 0.5066 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1315, allocations: 0 / 0.5066 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1315, allocations: 0 / 0.5066 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1315, allocations: 4 kB / 0.5066 GB, free: 7.359 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.0003145/0.1318, allocations: 242.4 kB / 0.5068 GB, free: 7.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1318, allocations: 12.03 kB / 0.5068 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1318, allocations: 0.9375 kB / 0.5068 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.132, allocations: 102.5 kB / 0.5069 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.132, allocations: 384 / 0.5069 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-06/0.132, allocations: 384 / 0.5069 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1321, allocations: 47.92 kB / 0.507 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1321, allocations: 4.188 kB / 0.507 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1322, allocations: 3.938 kB / 0.507 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1322, allocations: 7.984 kB / 0.507 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.1322, allocations: 0 / 0.507 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1326, allocations: 419.3 kB / 0.5074 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1327, allocations: 165.1 kB / 0.5075 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.1328, allocations: 88.08 kB / 0.5076 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.1328, allocations: 79.31 kB / 0.5077 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.133, allocations: 109.8 kB / 0.5078 GB, free: 5.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.133, allocations: 0 / 0.5078 GB, free: 5.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.1e-05/0.1331, allocations: 29.64 kB / 0.5078 GB, free: 5.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1332, allocations: 130.7 kB / 0.508 GB, free: 5.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.1333, allocations: 93.86 kB / 0.508 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1333, allocations: 29.7 kB / 0.5081 GB, free: 5.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1334, allocations: 88.09 kB / 0.5082 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.1334, allocations: 0 / 0.5082 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.1335, allocations: 17.7 kB / 0.5082 GB, free: 5.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1336, allocations: 310.8 kB / 0.5085 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.1337, allocations: 0 / 0.5085 GB, free: 5.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.1337, allocations: 17.72 kB / 0.5085 GB, free: 5.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.1337, allocations: 21.84 kB / 0.5085 GB, free: 5.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1337, allocations: 0 / 0.5085 GB, free: 5.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.1338, allocations: 49.58 kB / 0.5086 GB, free: 5.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1338, allocations: 11.88 kB / 0.5086 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1338, allocations: 4 kB / 0.5086 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1339, allocations: 0 / 0.5086 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.1339, allocations: 0 / 0.5086 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1339, allocations: 7.938 kB / 0.5086 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.1339, allocations: 0 / 0.5086 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1339, allocations: 0 / 0.5086 GB, free: 5.109 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.0001416/0.1341, allocations: 193.1 kB / 0.5088 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.1342, allocations: 104.9 kB / 0.5089 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.1343, allocations: 112.2 kB / 0.509 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002058/0.1345, allocations: 184.2 kB / 0.5092 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.835e-05/0.1346, allocations: 180.3 kB / 0.5093 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001905/0.1348, allocations: 184.2 kB / 0.5095 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.135, allocations: 352.9 kB / 0.5098 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.072e-05/0.1351, allocations: 104.9 kB / 0.5099 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.1352, allocations: 108.9 kB / 0.51 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.77e-05/0.1353, allocations: 180.3 kB / 0.5102 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/0.1354, allocations: 184.2 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.877e-05/0.1355, allocations: 184.2 kB / 0.5106 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-05/0.1356, allocations: 180.4 kB / 0.5107 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1358, allocations: 303.8 kB / 0.511 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.1359, allocations: 116.8 kB / 0.5111 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.1359, allocations: 176.3 kB / 0.5113 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.136, allocations: 108.9 kB / 0.5114 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.1361, allocations: 180.3 kB / 0.5116 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.1362, allocations: 105 kB / 0.5117 GB, free: 1.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.002e-05/0.1363, allocations: 79.28 kB / 0.5118 GB, free: 1.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1363, allocations: 4.094 kB / 0.5118 GB, free: 1.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1365, allocations: 0 / 0.5118 GB, free: 1.668 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.0001381/0.1367, allocations: 175 kB / 0.5119 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.414e-05/0.1367, allocations: 4 kB / 0.5119 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1367, allocations: 0 / 0.5119 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1367, allocations: 0 / 0.5119 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.1372, allocations: 459.7 kB / 0.5124 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.1374, allocations: 152.2 kB / 0.5125 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.804e-05/0.1374, allocations: 63.2 kB / 0.5126 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.68e-05/0.1375, allocations: 8.062 kB / 0.5126 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.1375, allocations: 7.438 kB / 0.5126 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1375, allocations: 0 / 0.5126 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Templates: time 0.002188/0.1397, allocations: 173 kB / 0.5128 GB, free: 0.5859 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.821369809098542]