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.002401/0.002401, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002869/0.002869, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.0888/0.0888, allocations: 12.73 MB / 272.3 MB, free: 0.7773 MB / 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.432e-06/1.432e-06, allocations: 0 / 345.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.43e-05, allocations: 8.844 kB / 346 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001224/0.001249, allocations: 489.2 kB / 346.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002463/0.001495, allocations: 119.6 kB / 346.6 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.001521, allocations: 0 / 346.6 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.001531, allocations: 4 kB / 346.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.001771, allocations: 23.86 kB / 346.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.266e-06/0.001774, allocations: 0 / 346.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.483e-05/0.001799, allocations: 0 / 346.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.001833, allocations: 4 kB / 346.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.001853, allocations: 3.938 kB / 346.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.001955, allocations: 15.97 kB / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.001961, allocations: 4 kB / 346.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-06/0.001964, allocations: 0 / 346.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-06/0.001969, allocations: 0 / 346.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-06/0.001977, allocations: 0 / 346.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 2.983e-05/0.002007, allocations: 0 / 346.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002009, allocations: 0 / 346.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002009, allocations: 0 / 346.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.002013, allocations: 0 / 346.6 MB, free: 1.684 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.0001809/0.002194, allocations: 332.4 kB / 346.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.002226, allocations: 16.02 kB / 346.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.002259, allocations: 4.938 kB / 347 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.035e-05/0.002299, allocations: 112.6 kB / 347.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.002311, allocations: 4.375 kB / 347.1 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-06/0.002317, allocations: 384 / 347.1 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.002395, allocations: 45.64 kB / 347.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.002403, allocations: 192 / 347.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.002409, allocations: 384 / 347.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.002413, allocations: 384 / 347.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.757e-05/0.00243, allocations: 15.88 kB / 347.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.002655, allocations: 0.587 MB / 347.7 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/0.002725, allocations: 265.5 kB / 348 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.002742, allocations: 130.9 kB / 348.1 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.721e-05/0.002809, allocations: 119.2 kB / 348.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.445e-05/0.002894, allocations: 160.5 kB / 348.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.002894, allocations: 0 / 348.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 7.195e-05/0.002966, allocations: 33.64 kB / 348.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.003071, allocations: 178.6 kB / 348.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.003193, allocations: 153.9 kB / 348.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.003212, allocations: 25.7 kB / 348.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.003289, allocations: 130.8 kB / 348.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.003291, allocations: 0 / 348.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.00333, allocations: 27.5 kB / 348.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.003582, allocations: 492.1 kB / 349.4 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.003595, allocations: 7.984 kB / 349.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.003619, allocations: 19.31 kB / 349.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.003657, allocations: 23.38 kB / 349.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003659, allocations: 0 / 349.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.003761, allocations: 37.64 kB / 349.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.003775, allocations: 11.94 kB / 349.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.003779, allocations: 4.125 kB / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.00379, allocations: 0 / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.003838, allocations: 7.984 kB / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.003842, allocations: 0 / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.003861, allocations: 7.891 kB / 349.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-06/0.003864, allocations: 4 kB / 349.5 MB, free: 14.54 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 0.0001543/0.004019, allocations: 275.8 kB / 349.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.004119, allocations: 152.8 kB / 349.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.004204, allocations: 152 kB / 350.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000135/0.004339, allocations: 272.1 kB / 350.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001468/0.004486, allocations: 276 kB / 350.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001311/0.004617, allocations: 264.1 kB / 350.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.004939, allocations: 0.4921 MB / 351.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.589e-05/0.005015, allocations: 148.9 kB / 351.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.005091, allocations: 148.9 kB / 351.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.005232, allocations: 272 kB / 351.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.005372, allocations: 264.1 kB / 352.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001386/0.00551, allocations: 276 kB / 352.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001343/0.005645, allocations: 268.1 kB / 352.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.005892, allocations: 444 kB / 353.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.07e-05/0.005973, allocations: 152.8 kB / 353.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.006119, allocations: 280 kB / 353.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.006235, allocations: 152.8 kB / 353.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.006382, allocations: 268 kB / 354 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.006459, allocations: 148.9 kB / 354.1 MB, free: 9.727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.746e-05/0.006527, allocations: 119.2 kB / 354.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006527, allocations: 0 / 354.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.006744, allocations: 4 kB / 354.2 MB, free: 9.605 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 0.000162/0.006906, allocations: 206.4 kB / 354.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.007002, allocations: 27.7 kB / 354.5 MB, free: 9.363 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007004, allocations: 0 / 354.5 MB, free: 9.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.007005, allocations: 4 kB / 354.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.007549, allocations: 0.6984 MB / 355.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.007803, allocations: 208.5 kB / 355.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.00786, allocations: 55.36 kB / 355.4 MB, free: 8.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.936e-05/0.00788, allocations: 3.984 kB / 355.4 MB, free: 8.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.007904, allocations: 8.5 kB / 355.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007904, allocations: 0 / 355.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of Templates: time 0.002592/0.0105, allocations: 201.1 kB / 355.6 MB, free: 8.141 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","/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: 4.6312897390453145]