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.001343/0.001343, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001658/0.001658, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9747/0.9747, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.05042/0.05042, allocations: 12.99 MB / 273.2 MB, free: 328 kB / 250.7 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 347.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.234e-05, allocations: 2.312 kB / 347.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00131/0.001333, allocations: 485 kB / 348 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002677/0.0016, allocations: 119.6 kB / 348.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.001628, allocations: 0 / 348.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.001643, allocations: 0 / 348.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.001884, allocations: 31.84 kB / 348.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.001888, allocations: 0 / 348.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.793e-05/0.001915, allocations: 3.938 kB / 348.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.00195, allocations: 4 kB / 348.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.001972, allocations: 0 / 348.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.002077, allocations: 11.98 kB / 348.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-06/0.002083, allocations: 0 / 348.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-06/0.002085, allocations: 0 / 348.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-06/0.002092, allocations: 4 kB / 348.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.162e-05/0.002104, allocations: 0 / 348.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.96e-05/0.002143, allocations: 3.984 kB / 348.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.002146, allocations: 4 kB / 348.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002146, allocations: 0 / 348.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.002149, allocations: 0 / 348.2 MB, free: 0.6523 MB / 266.7 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.00016/0.002309, allocations: 336.4 kB / 348.5 MB, free: 292 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.002346, allocations: 8.031 kB / 348.5 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.002367, allocations: 0.9375 kB / 348.5 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4e-05/0.002407, allocations: 120.5 kB / 348.6 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.002416, allocations: 384 / 348.6 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-06/0.002421, allocations: 4.375 kB / 348.6 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.931e-05/0.002481, allocations: 49.64 kB / 348.7 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.002487, allocations: 4.125 kB / 348.7 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-06/0.002492, allocations: 384 / 348.7 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.002498, allocations: 384 / 348.7 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.081e-05/0.002509, allocations: 11.88 kB / 348.7 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.002811, allocations: 0.572 MB / 349.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/0.0029, allocations: 273.5 kB / 349.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.002935, allocations: 126.9 kB / 349.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.002964, allocations: 123.2 kB / 349.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.003015, allocations: 160.5 kB / 349.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.003016, allocations: 0 / 349.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.533e-05/0.003071, allocations: 29.64 kB / 350 MB, free: 14.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.003126, allocations: 170.6 kB / 350.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/0.003209, allocations: 157.9 kB / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.003218, allocations: 25.7 kB / 350.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.003276, allocations: 135.1 kB / 350.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.003278, allocations: 0 / 350.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.003307, allocations: 19.38 kB / 350.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.003437, allocations: 0.4924 MB / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.003445, allocations: 4 kB / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.003465, allocations: 15.38 kB / 351 MB, free: 13.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.003498, allocations: 27.3 kB / 351 MB, free: 13.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0035, allocations: 0 / 351 MB, free: 13.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.905e-05/0.003579, allocations: 37.64 kB / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.003598, allocations: 8 kB / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.003605, allocations: 0 / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.003619, allocations: 8.062 kB / 351 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.859e-05/0.003657, allocations: 4 kB / 351 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.003659, allocations: 0 / 351 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.003674, allocations: 3.953 kB / 351 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.003678, allocations: 4 kB / 351.1 MB, free: 13.53 MB / 282.7 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 9.816e-05/0.003777, allocations: 279.8 kB / 351.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.003848, allocations: 148.8 kB / 351.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.003903, allocations: 152 kB / 351.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.982e-05/0.003973, allocations: 272.1 kB / 351.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.651e-05/0.004039, allocations: 268 kB / 352.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/0.004112, allocations: 280.1 kB / 352.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.004312, allocations: 480.4 kB / 352.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/0.004353, allocations: 152.9 kB / 353 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.004391, allocations: 144.9 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.748e-05/0.004459, allocations: 272 kB / 353.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/0.004528, allocations: 268.1 kB / 353.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.727e-05/0.004595, allocations: 272 kB / 354 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.698e-05/0.004662, allocations: 264.1 kB / 354.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.004798, allocations: 451.9 kB / 354.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.004843, allocations: 148.9 kB / 354.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.004912, allocations: 268 kB / 355.1 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.005237, allocations: 152.9 kB / 355.2 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.005299, allocations: 268 kB / 355.5 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.005337, allocations: 152.8 kB / 355.6 MB, free: 8.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.763e-05/0.005374, allocations: 123.2 kB / 355.8 MB, free: 8.629 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005374, allocations: 0 / 355.8 MB, free: 8.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.005562, allocations: 0 / 355.8 MB, free: 8.629 MB / 282.7 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 9.8e-05/0.00566, allocations: 210.4 kB / 356 MB, free: 8.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.555e-05/0.005715, allocations: 15.69 kB / 356 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005717, allocations: 4.219 kB / 356 MB, free: 8.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.005719, allocations: 3.938 kB / 356 MB, free: 8.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.00604, allocations: 0.7062 MB / 356.7 MB, free: 7.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.006211, allocations: 208.5 kB / 356.9 MB, free: 7.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.006242, allocations: 55.36 kB / 357 MB, free: 7.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.684e-05/0.006259, allocations: 0 / 357 MB, free: 7.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.006289, allocations: 66.2 kB / 357 MB, free: 7.301 MB / 282.7 MB Notification: Performance of SimCode: time 5.2e-07/0.00629, allocations: 0 / 357 MB, free: 7.301 MB / 282.7 MB Notification: Performance of Templates: time 0.001457/0.007747, allocations: 217 kB / 357.2 MB, free: 7.09 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.691100043710321]