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.0007344/0.0007344, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001767, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006719/0.0006719, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000895/0.001567, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9875/0.9875, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07489/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.04956/0.04956, allocations: 13.28 MB / 257.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007997/0.05756, allocations: 5.057 MB / 262.5 MB, free: 12.8 MB / 266.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.423e-06/1.423e-06, allocations: 0 / 263.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.051e-05, allocations: 2.312 kB / 263.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001764/0.001785, allocations: 0.5293 MB / 264.3 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.001968, allocations: 123.6 kB / 264.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.001984, allocations: 0 / 264.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.93e-06/0.001989, allocations: 3.938 kB / 264.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.002106, allocations: 19.88 kB / 264.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.836e-06/0.002109, allocations: 0 / 264.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.226e-05/0.002141, allocations: 4 kB / 264.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.002179, allocations: 3.984 kB / 264.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.002202, allocations: 0 / 264.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.002295, allocations: 11.98 kB / 264.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.002302, allocations: 0 / 264.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-06/0.002307, allocations: 8 kB / 264.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.002316, allocations: 3.938 kB / 264.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-06/0.002324, allocations: 0 / 264.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.414e-05/0.002368, allocations: 0 / 264.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.002379, allocations: 0 / 264.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.00238, allocations: 0 / 264.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.00239, allocations: 0 / 264.5 MB, free: 10.82 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.0002073/0.002597, allocations: 216.7 kB / 264.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.002629, allocations: 8.031 kB / 264.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.002656, allocations: 0.9375 kB / 264.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.537e-05/0.002732, allocations: 105.8 kB / 264.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.002743, allocations: 4.375 kB / 264.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.002752, allocations: 384 / 264.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.001e-05/0.002832, allocations: 51.91 kB / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.002839, allocations: 192 / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.002844, allocations: 384 / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.002849, allocations: 384 / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.326e-05/0.002863, allocations: 7.938 kB / 264.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.003094, allocations: 383 kB / 265.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.003166, allocations: 173.1 kB / 265.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.003225, allocations: 84.14 kB / 265.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.003249, allocations: 79.28 kB / 265.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.00329, allocations: 113.8 kB / 265.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.003291, allocations: 0 / 265.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.905e-05/0.00335, allocations: 33.58 kB / 265.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.003396, allocations: 126.7 kB / 265.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.003458, allocations: 98.72 kB / 265.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.003468, allocations: 25.7 kB / 265.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.003512, allocations: 96.06 kB / 266 MB, free: 9.102 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.003515, allocations: 0 / 266 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.003545, allocations: 17.75 kB / 266.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.003628, allocations: 319 kB / 266.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.003633, allocations: 0 / 266.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.003646, allocations: 13.72 kB / 266.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.003676, allocations: 17.66 kB / 266.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003678, allocations: 0 / 266.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.777e-05/0.003745, allocations: 37.69 kB / 266.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.003756, allocations: 4 kB / 266.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00376, allocations: 128 / 266.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.003775, allocations: 11.94 kB / 266.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.00382, allocations: 3.938 kB / 266.5 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.003823, allocations: 4 kB / 266.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.003835, allocations: 0 / 266.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.003839, allocations: 0 / 266.5 MB, free: 8.648 MB / 266.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 6.998e-05/0.003909, allocations: 189.1 kB / 266.6 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.003955, allocations: 101 kB / 266.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.004001, allocations: 112.1 kB / 266.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/0.004051, allocations: 184.2 kB / 267 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-05/0.0041, allocations: 176.3 kB / 267.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.306e-05/0.004153, allocations: 192.2 kB / 267.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.004329, allocations: 313.4 kB / 267.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.004358, allocations: 108.9 kB / 267.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.004386, allocations: 101 kB / 267.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.004421, allocations: 105 kB / 268 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-05/0.00447, allocations: 188.2 kB / 268.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.004517, allocations: 176.3 kB / 268.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.697e-05/0.004564, allocations: 180.2 kB / 268.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.828e-05/0.004612, allocations: 184.2 kB / 268.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.004715, allocations: 307.7 kB / 269 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.004768, allocations: 180.5 kB / 269.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.004836, allocations: 112.9 kB / 269.3 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.00489, allocations: 188.3 kB / 269.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.004921, allocations: 112.8 kB / 269.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.401e-05/0.004935, allocations: 8.859 kB / 269.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.004935, allocations: 0 / 269.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000188/0.005123, allocations: 0 / 269.6 MB, free: 5.32 MB / 266.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 8.399e-05/0.005207, allocations: 147.7 kB / 269.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.075e-05/0.005258, allocations: 9.047 kB / 269.8 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.005264, allocations: 4.094 kB / 269.8 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.005268, allocations: 4 kB / 269.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.005509, allocations: 467.7 kB / 270.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001558/0.005665, allocations: 159 kB / 270.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.005698, allocations: 51.36 kB / 270.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.74e-05/0.005715, allocations: 3.938 kB / 270.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.005748, allocations: 51.36 kB / 270.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.005749, allocations: 0 / 270.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of Templates: time 0.00151/0.007259, allocations: 184.5 kB / 270.7 MB, free: 4.199 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4896599128842354]