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.001481/0.001481, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001601/0.001601, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.384/1.384, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.07505/0.07505, allocations: 12.53 MB / 271.7 MB, free: 4.598 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: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 402.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.325e-05, allocations: 8.328 kB / 402.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001358/0.001381, allocations: 485.4 kB / 403.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000304/0.001685, allocations: 115.6 kB / 403.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.001709, allocations: 0 / 403.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.001723, allocations: 0 / 403.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.001969, allocations: 23.86 kB / 403.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.001972, allocations: 0 / 403.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.514e-05/0.002008, allocations: 4 kB / 403.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.002057, allocations: 15.92 kB / 403.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.002074, allocations: 3.938 kB / 403.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.002184, allocations: 8 kB / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-06/0.002189, allocations: 0 / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-06/0.002192, allocations: 0 / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.002198, allocations: 0 / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.927e-06/0.002206, allocations: 0 / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.377e-05/0.00224, allocations: 3.984 kB / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002242, allocations: 0 / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002242, allocations: 0 / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.00225, allocations: 8 kB / 403.4 MB, free: 14.28 MB / 334.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.0002579/0.002508, allocations: 238.5 kB / 403.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.002548, allocations: 8.031 kB / 403.7 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.002571, allocations: 0.9375 kB / 403.7 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.002654, allocations: 101.8 kB / 403.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.002662, allocations: 4.375 kB / 403.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.002672, allocations: 384 / 403.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.002778, allocations: 43.98 kB / 403.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.002787, allocations: 192 / 403.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.002793, allocations: 384 / 403.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.002798, allocations: 12.25 kB / 403.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.00282, allocations: 11.92 kB / 403.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.003138, allocations: 407.3 kB / 404.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.003237, allocations: 177.1 kB / 404.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.003277, allocations: 80.14 kB / 404.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.00331, allocations: 75.28 kB / 404.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.003362, allocations: 113.8 kB / 404.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.003362, allocations: 4 kB / 404.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.545e-05/0.003428, allocations: 29.64 kB / 404.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.003495, allocations: 126.7 kB / 404.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.003579, allocations: 101.8 kB / 404.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.003591, allocations: 25.7 kB / 405 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.003645, allocations: 88.09 kB / 405.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.003647, allocations: 0 / 405.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.003677, allocations: 17.7 kB / 405.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.003805, allocations: 310.8 kB / 405.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.003816, allocations: 7.938 kB / 405.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.003829, allocations: 9.719 kB / 405.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.003862, allocations: 21.91 kB / 405.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.003864, allocations: 4 kB / 405.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.794e-05/0.003962, allocations: 41.62 kB / 405.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.003978, allocations: 11.94 kB / 405.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.003981, allocations: 0 / 405.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.003993, allocations: 0 / 405.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.004049, allocations: 4 kB / 405.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.004055, allocations: 3.984 kB / 405.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.004073, allocations: 7.891 kB / 405.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.00408, allocations: 8 kB / 405.5 MB, free: 12.02 MB / 334.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.0001044/0.004184, allocations: 189.1 kB / 405.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.004252, allocations: 113 kB / 405.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.00431, allocations: 112.1 kB / 405.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-05/0.004379, allocations: 180.2 kB / 406.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-05/0.004455, allocations: 180.3 kB / 406.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/0.004527, allocations: 180.3 kB / 406.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.004738, allocations: 356.8 kB / 406.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.004784, allocations: 101 kB / 406.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.004827, allocations: 108.9 kB / 407 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.418e-05/0.004901, allocations: 180.3 kB / 407.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.004975, allocations: 184.3 kB / 407.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.15e-05/0.005057, allocations: 188.3 kB / 407.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.011e-05/0.005127, allocations: 180.3 kB / 407.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.005276, allocations: 303.8 kB / 408 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.005326, allocations: 108.9 kB / 408.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.005411, allocations: 184.2 kB / 408.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.005494, allocations: 108.9 kB / 408.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.005578, allocations: 180.2 kB / 408.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.005624, allocations: 105 kB / 408.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.604e-05/0.00566, allocations: 75.28 kB / 408.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00566, allocations: 96 / 408.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000229/0.005889, allocations: 4 kB / 408.7 MB, free: 8.586 MB / 334.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.0001403/0.006029, allocations: 175 kB / 408.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.382e-05/0.006093, allocations: 7.938 kB / 408.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006095, allocations: 0 / 408.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.006096, allocations: 0 / 408.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.006461, allocations: 455.7 kB / 409.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.006664, allocations: 156.2 kB / 409.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.323e-05/0.006717, allocations: 59.28 kB / 409.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.213e-05/0.006729, allocations: 8.125 kB / 409.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.006746, allocations: 8.5 kB / 409.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.006747, allocations: 0 / 409.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of Templates: time 0.002059/0.008805, allocations: 185 kB / 409.8 MB, free: 7.496 MB / 334.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: 3.984513819217682]