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.001019/0.001019, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0015/0.0015, allocations: 173 kB / 23.49 MB, free: 1.055 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.9502/0.9502, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.04771/0.04771, allocations: 12.74 MB / 273 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.262e-06/1.262e-06, allocations: 0 / 346.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.485e-05, allocations: 5.547 kB / 346.7 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001095/0.00112, allocations: 493.1 kB / 347.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002298/0.00135, allocations: 111.6 kB / 347.3 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.001376, allocations: 7.938 kB / 347.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.001391, allocations: 0 / 347.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.00162, allocations: 19.86 kB / 347.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.495e-06/0.001623, allocations: 0 / 347.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.255e-05/0.001655, allocations: 11.94 kB / 347.3 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.001692, allocations: 3.984 kB / 347.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.00171, allocations: 0 / 347.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.001815, allocations: 11.98 kB / 347.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-06/0.00182, allocations: 0 / 347.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-06/0.001823, allocations: 0 / 347.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-06/0.001828, allocations: 0 / 347.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-06/0.001837, allocations: 0 / 347.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.546e-05/0.001873, allocations: 4 kB / 347.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.001875, allocations: 4 kB / 347.4 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.001876, allocations: 0 / 347.4 MB, free: 1.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.00188, allocations: 0 / 347.4 MB, free: 1.633 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.0001591/0.002039, allocations: 340.4 kB / 347.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.002073, allocations: 8.031 kB / 347.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.002103, allocations: 4.875 kB / 347.7 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.022e-05/0.002143, allocations: 108.6 kB / 347.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002154, allocations: 384 / 347.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.002161, allocations: 4.359 kB / 347.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.915e-05/0.00224, allocations: 53.58 kB / 347.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.002247, allocations: 192 / 347.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.002254, allocations: 4.375 kB / 347.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.002262, allocations: 8.359 kB / 347.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.249e-05/0.002275, allocations: 3.938 kB / 347.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.002447, allocations: 0.5909 MB / 348.5 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.002483, allocations: 261.4 kB / 348.7 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.002497, allocations: 126.9 kB / 348.9 MB, free: 0 / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.00254, allocations: 127.2 kB / 349 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.002582, allocations: 156.6 kB / 349.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.002582, allocations: 0 / 349.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.827e-05/0.002641, allocations: 33.58 kB / 349.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.002691, allocations: 178.6 kB / 349.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.002765, allocations: 149.9 kB / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.002772, allocations: 25.7 kB / 349.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.002812, allocations: 139.1 kB / 349.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.002815, allocations: 0 / 349.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.002838, allocations: 23.36 kB / 349.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.002938, allocations: 496.1 kB / 350.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.002945, allocations: 0 / 350.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.00296, allocations: 19.38 kB / 350.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.002992, allocations: 31.5 kB / 350.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.002993, allocations: 0 / 350.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.654e-05/0.00307, allocations: 37.69 kB / 350.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.003082, allocations: 7.938 kB / 350.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.003086, allocations: 0 / 350.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.003099, allocations: 8 kB / 350.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.003149, allocations: 3.938 kB / 350.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.003154, allocations: 0 / 350.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/0.003164, allocations: 7.953 kB / 350.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.003167, allocations: 4.062 kB / 350.3 MB, free: 14.48 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 7.791e-05/0.003245, allocations: 279.8 kB / 350.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.003285, allocations: 148.8 kB / 350.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.003328, allocations: 159.9 kB / 350.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.255e-05/0.00338, allocations: 272.2 kB / 351.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/0.003432, allocations: 264.1 kB / 351.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.528e-05/0.003487, allocations: 268 kB / 351.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.003635, allocations: 0.4921 MB / 352.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.003665, allocations: 148.8 kB / 352.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.003695, allocations: 148.9 kB / 352.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.178e-05/0.003747, allocations: 268.1 kB / 352.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.003803, allocations: 268 kB / 352.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.482e-05/0.003857, allocations: 280 kB / 353.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.091e-05/0.003908, allocations: 268 kB / 353.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.004024, allocations: 440 kB / 353.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.004065, allocations: 152.9 kB / 354.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.004126, allocations: 268.1 kB / 354.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.004176, allocations: 152.8 kB / 354.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.004233, allocations: 268.1 kB / 354.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.004262, allocations: 148.8 kB / 354.9 MB, free: 9.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.004294, allocations: 127.2 kB / 355 MB, free: 9.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004294, allocations: 4 kB / 355 MB, free: 9.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.004423, allocations: 0 / 355 MB, free: 9.555 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.354e-05/0.004517, allocations: 210.4 kB / 355.2 MB, free: 9.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.004583, allocations: 15.69 kB / 355.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.004585, allocations: 0 / 355.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.004586, allocations: 0 / 355.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.004852, allocations: 0.7053 MB / 355.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.005027, allocations: 212.6 kB / 356.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.801e-05/0.005055, allocations: 55.34 kB / 356.2 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.483e-05/0.00507, allocations: 0 / 356.2 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.005086, allocations: 12.5 kB / 356.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.005087, allocations: 0 / 356.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of Templates: time 0.001348/0.006435, allocations: 205 kB / 356.4 MB, free: 8.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.7193597538862377]