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.001986/0.001986, 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.00256/0.00256, allocations: 214.3 kB / 22.24 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.82 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.08131/0.08131, allocations: 16.92 MB / 329.4 MB, free: 2.422 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.002372/0.002372, allocations: 68.12 kB / 460.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.134, allocations: 57.73 MB / 0.5059 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0018/0.1358, allocations: 489.1 kB / 0.5064 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004095/0.1362, allocations: 117.6 kB / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.1362, allocations: 0 / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.1363, allocations: 0 / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.1366, allocations: 27.92 kB / 0.5065 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.1366, allocations: 0 / 0.5065 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.873e-05/0.1366, allocations: 0 / 0.5065 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.1367, allocations: 7.938 kB / 0.5065 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.1367, allocations: 3.984 kB / 0.5066 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1368, allocations: 11.92 kB / 0.5066 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-06/0.1368, allocations: 4 kB / 0.5066 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.1368, allocations: 4 kB / 0.5066 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1369, allocations: 0 / 0.5066 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.1369, allocations: 0 / 0.5066 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.408e-05/0.1369, allocations: 0 / 0.5066 GB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1369, allocations: 0 / 0.5066 GB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1369, allocations: 0 / 0.5066 GB, free: 7.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1369, allocations: 0 / 0.5066 GB, free: 7.406 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.0003837/0.1373, allocations: 238.4 kB / 0.5068 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1374, allocations: 12.03 kB / 0.5068 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1374, allocations: 4.922 kB / 0.5068 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1375, allocations: 102.5 kB / 0.5069 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.1375, allocations: 4.375 kB / 0.5069 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1375, allocations: 4.375 kB / 0.5069 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1376, allocations: 43.92 kB / 0.507 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1377, allocations: 192 / 0.507 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1377, allocations: 3.938 kB / 0.507 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.1377, allocations: 3.984 kB / 0.507 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.1377, allocations: 7.938 kB / 0.507 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1381, allocations: 423.2 kB / 0.5074 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1383, allocations: 169.1 kB / 0.5075 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.1383, allocations: 92.11 kB / 0.5076 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.1384, allocations: 75.28 kB / 0.5077 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/0.1384, allocations: 105.8 kB / 0.5078 GB, free: 6.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1385, allocations: 0 / 0.5078 GB, free: 6.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.414e-05/0.1385, allocations: 29.7 kB / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.1386, allocations: 138.6 kB / 0.508 GB, free: 5.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1387, allocations: 93.86 kB / 0.5081 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1388, allocations: 25.7 kB / 0.5081 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.1388, allocations: 84.09 kB / 0.5082 GB, free: 5.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.1388, allocations: 0 / 0.5082 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1389, allocations: 21.84 kB / 0.5082 GB, free: 5.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.139, allocations: 310.8 kB / 0.5085 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.139, allocations: 3.984 kB / 0.5085 GB, free: 5.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.139, allocations: 13.72 kB / 0.5085 GB, free: 5.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/0.1391, allocations: 17.72 kB / 0.5085 GB, free: 5.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1391, allocations: 0 / 0.5085 GB, free: 5.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.1392, allocations: 45.53 kB / 0.5086 GB, free: 5.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1392, allocations: 6.969 kB / 0.5086 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1392, allocations: 8.125 kB / 0.5086 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1392, allocations: 0 / 0.5086 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.1393, allocations: 7.984 kB / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1393, allocations: 0 / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1393, allocations: 0 / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1393, allocations: 0 / 0.5086 GB, free: 5.156 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.0002492/0.1396, allocations: 197 kB / 0.5088 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.1397, allocations: 104.9 kB / 0.5089 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.1397, allocations: 112.2 kB / 0.509 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.64e-05/0.1398, allocations: 184.2 kB / 0.5091 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001952/0.14, allocations: 180.3 kB / 0.5093 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.939e-05/0.1401, allocations: 184.2 kB / 0.5095 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.1404, allocations: 348.9 kB / 0.5098 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.254e-05/0.1404, allocations: 109 kB / 0.5099 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1406, allocations: 108.9 kB / 0.51 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-05/0.1407, allocations: 180.2 kB / 0.5102 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.572e-05/0.1408, allocations: 188.2 kB / 0.5104 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.908e-05/0.1409, allocations: 180.3 kB / 0.5106 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.935e-05/0.141, allocations: 176.5 kB / 0.5107 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1411, allocations: 307.8 kB / 0.511 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.1412, allocations: 116.9 kB / 0.5111 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/0.1413, allocations: 180.3 kB / 0.5113 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1414, allocations: 112.9 kB / 0.5114 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.1415, allocations: 184.2 kB / 0.5116 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.1415, allocations: 101 kB / 0.5117 GB, free: 1.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.773e-05/0.1416, allocations: 79.28 kB / 0.5118 GB, free: 1.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1416, allocations: 0 / 0.5118 GB, free: 1.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1418, allocations: 4 kB / 0.5118 GB, free: 1.703 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.0001369/0.142, allocations: 167.1 kB / 0.5119 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.704e-05/0.142, allocations: 16.08 kB / 0.5119 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.142, allocations: 0 / 0.5119 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.142, allocations: 0 / 0.5119 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1424, allocations: 455.7 kB / 0.5124 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.1427, allocations: 152.3 kB / 0.5125 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.729e-05/0.1427, allocations: 59.22 kB / 0.5126 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.053e-05/0.1427, allocations: 3.938 kB / 0.5126 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1428, allocations: 7.438 kB / 0.5126 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1428, allocations: 0 / 0.5126 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of Templates: time 0.002217/0.145, allocations: 169.2 kB / 0.5127 GB, free: 0.6328 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: 5.003635646775365]