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.0007642/0.0007642, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007975/0.0007975, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8221/0.8221, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.0437/0.0437, allocations: 12.52 MB / 271.7 MB, free: 1.113 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.343e-06/1.343e-06, allocations: 0 / 402.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.352e-05, allocations: 2.281 kB / 402.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0008117/0.0008252, allocations: 492.4 kB / 403.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002065/0.001032, allocations: 119.6 kB / 403.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.00105, allocations: 0 / 403.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.001061, allocations: 0 / 403.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.001257, allocations: 19.88 kB / 403.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.00126, allocations: 0 / 403.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 2.76e-05/0.001287, allocations: 0 / 403.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.001321, allocations: 3.984 kB / 403.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.001339, allocations: 11.92 kB / 403.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.001424, allocations: 8 kB / 403.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-06/0.001429, allocations: 0 / 403.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-06/0.001431, allocations: 4 kB / 403.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-06/0.001437, allocations: 0 / 403.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-06/0.001444, allocations: 0 / 403.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 3.28e-05/0.001477, allocations: 0 / 403.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.001478, allocations: 0 / 403.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001479, allocations: 0 / 403.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.001482, allocations: 0 / 403.4 MB, free: 8.523 MB / 330.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.0001602/0.001643, allocations: 246.5 kB / 403.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.001671, allocations: 12.03 kB / 403.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.00169, allocations: 0.9375 kB / 403.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.266e-05/0.001733, allocations: 101.8 kB / 403.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.001743, allocations: 4.312 kB / 403.8 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.001749, allocations: 4.375 kB / 403.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.407e-05/0.001813, allocations: 39.98 kB / 403.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-06/0.001818, allocations: 4.125 kB / 403.8 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.001824, allocations: 384 / 403.8 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.001829, allocations: 4.359 kB / 403.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.589e-05/0.001845, allocations: 11.94 kB / 403.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.002042, allocations: 415.3 kB / 404.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.002095, allocations: 165.1 kB / 404.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.002116, allocations: 84.17 kB / 404.5 MB, free: 7.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.002133, allocations: 79.22 kB / 404.6 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.002162, allocations: 113.8 kB / 404.7 MB, free: 7.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.002162, allocations: 0 / 404.7 MB, free: 7.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.134e-05/0.002204, allocations: 33.58 kB / 404.7 MB, free: 7.098 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.002239, allocations: 130.7 kB / 404.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.002289, allocations: 93.86 kB / 405 MB, free: 6.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.002295, allocations: 33.83 kB / 405 MB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.002323, allocations: 84.09 kB / 405.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.002324, allocations: 0 / 405.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.002346, allocations: 21.7 kB / 405.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.00241, allocations: 310.8 kB / 405.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/0.002416, allocations: 0 / 405.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-06/0.002424, allocations: 13.72 kB / 405.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.002446, allocations: 17.66 kB / 405.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.002447, allocations: 0 / 405.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.393e-05/0.002511, allocations: 49.69 kB / 405.5 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.002521, allocations: 7.938 kB / 405.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.002525, allocations: 4 kB / 405.5 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.002533, allocations: 0 / 405.5 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.321e-05/0.002566, allocations: 4 kB / 405.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.00257, allocations: 0 / 405.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.002579, allocations: 7.891 kB / 405.5 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-06/0.002582, allocations: 0 / 405.5 MB, free: 6.27 MB / 330.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 5.233e-05/0.002634, allocations: 189.7 kB / 405.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.002663, allocations: 109 kB / 405.8 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.002693, allocations: 120 kB / 405.9 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.002727, allocations: 180.3 kB / 406.1 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.544e-05/0.002763, allocations: 180.2 kB / 406.3 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.002798, allocations: 180.3 kB / 406.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.002907, allocations: 352.9 kB / 406.8 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.002929, allocations: 108.9 kB / 406.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.00295, allocations: 105 kB / 407 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.509e-05/0.002986, allocations: 180.4 kB / 407.2 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.003022, allocations: 176.3 kB / 407.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-05/0.003058, allocations: 192.2 kB / 407.5 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.554e-05/0.003093, allocations: 192.1 kB / 407.7 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.215e-05/0.003166, allocations: 303.7 kB / 408 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.003193, allocations: 109 kB / 408.1 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.003234, allocations: 176.3 kB / 408.3 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.003278, allocations: 116.9 kB / 408.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.003318, allocations: 180.3 kB / 408.6 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.003346, allocations: 104.9 kB / 408.7 MB, free: 2.898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.066e-05/0.003367, allocations: 79.28 kB / 408.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003367, allocations: 0 / 408.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000128/0.003495, allocations: 0 / 408.8 MB, free: 2.82 MB / 330.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 6.2e-05/0.003557, allocations: 175.1 kB / 408.9 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.558e-05/0.003593, allocations: 4 kB / 408.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.003594, allocations: 0 / 408.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.003595, allocations: 0 / 408.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.003797, allocations: 463.6 kB / 409.4 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001236/0.003921, allocations: 148.2 kB / 409.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.003952, allocations: 59.34 kB / 409.6 MB, free: 1.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.003e-05/0.003962, allocations: 0 / 409.6 MB, free: 1.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.003974, allocations: 12.62 kB / 409.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.003974, allocations: 0 / 409.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of Templates: time 0.0009857/0.00496, allocations: 185 kB / 409.8 MB, free: 1.738 MB / 330.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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] 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: 2.4475249079987407]