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.001595/0.001595, allocations: 105.9 kB / 16.45 MB, free: 6.453 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.00195/0.00195, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.548/1.548, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 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.1412/0.1412, allocations: 16.94 MB / 325.8 MB, free: 3.742 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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.84 kB / 455.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1157, allocations: 57.7 MB / 0.501 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001616/0.1173, allocations: 484.3 kB / 0.5014 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000349/0.1177, allocations: 119.7 kB / 0.5015 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.1177, allocations: 0 / 0.5015 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.1177, allocations: 0 / 0.5015 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1181, allocations: 31.84 kB / 0.5016 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.359e-06/0.1181, allocations: 0 / 0.5016 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.1181, allocations: 3.938 kB / 0.5016 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.1181, allocations: 7.984 kB / 0.5016 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.1182, allocations: 4 kB / 0.5016 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1183, allocations: 7.984 kB / 0.5016 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-06/0.1183, allocations: 0 / 0.5016 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.1183, allocations: 0 / 0.5016 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.1183, allocations: 0 / 0.5016 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.1183, allocations: 7.938 kB / 0.5016 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.361e-05/0.1184, allocations: 4 kB / 0.5016 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1184, allocations: 0 / 0.5016 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1184, allocations: 0 / 0.5016 GB, free: 9.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1184, allocations: 0 / 0.5016 GB, free: 9.926 MB / 382.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.0003222/0.1187, allocations: 315.5 kB / 0.5019 GB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1187, allocations: 8.031 kB / 0.5019 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.1188, allocations: 0.9375 kB / 0.5019 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1189, allocations: 164.4 kB / 0.5021 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1189, allocations: 4.375 kB / 0.5021 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1189, allocations: 4.375 kB / 0.5021 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.119, allocations: 47.91 kB / 0.5021 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.119, allocations: 192 / 0.5021 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.119, allocations: 3.938 kB / 0.5021 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.119, allocations: 0 / 0.5021 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.1191, allocations: 7.984 kB / 0.5021 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1195, allocations: 463.7 kB / 0.5026 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1196, allocations: 177 kB / 0.5027 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.1196, allocations: 80.14 kB / 0.5028 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1196, allocations: 75.28 kB / 0.5029 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.1197, allocations: 109.8 kB / 0.503 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1197, allocations: 4.031 kB / 0.503 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.905e-05/0.1198, allocations: 29.64 kB / 0.503 GB, free: 8.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.1198, allocations: 126.7 kB / 0.5032 GB, free: 8.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.1199, allocations: 101.8 kB / 0.5032 GB, free: 8.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.12, allocations: 25.7 kB / 0.5033 GB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.12, allocations: 88.08 kB / 0.5034 GB, free: 7.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.12, allocations: 0 / 0.5034 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.12, allocations: 21.84 kB / 0.5034 GB, free: 7.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1202, allocations: 310.8 kB / 0.5037 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.1202, allocations: 0 / 0.5037 GB, free: 7.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.1202, allocations: 13.72 kB / 0.5037 GB, free: 7.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.1202, allocations: 17.66 kB / 0.5037 GB, free: 7.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1202, allocations: 11.94 kB / 0.5037 GB, free: 7.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/0.1203, allocations: 41.69 kB / 0.5038 GB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1204, allocations: 4 kB / 0.5038 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1204, allocations: 0 / 0.5038 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1204, allocations: 4 kB / 0.5038 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-05/0.1204, allocations: 4 kB / 0.5038 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1204, allocations: 7.938 kB / 0.5038 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.1204, allocations: 3.953 kB / 0.5038 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-06/0.1204, allocations: 0 / 0.5038 GB, free: 7.445 MB / 382.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.0001112/0.1206, allocations: 189.1 kB / 0.504 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.1206, allocations: 113 kB / 0.5041 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.1207, allocations: 104.1 kB / 0.5042 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-05/0.1208, allocations: 180.2 kB / 0.5043 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.451e-05/0.1208, allocations: 180.3 kB / 0.5045 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.438e-05/0.1209, allocations: 184.2 kB / 0.5047 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1212, allocations: 409.2 kB / 0.5051 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.001e-05/0.1212, allocations: 101 kB / 0.5052 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.1213, allocations: 108.9 kB / 0.5053 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.068e-05/0.1214, allocations: 180.2 kB / 0.5054 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/0.1215, allocations: 180.2 kB / 0.5056 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.898e-05/0.1215, allocations: 180.3 kB / 0.5058 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.399e-05/0.1216, allocations: 188.4 kB / 0.506 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1218, allocations: 307.8 kB / 0.5063 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.1219, allocations: 182 kB / 0.5064 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.122, allocations: 184.3 kB / 0.5066 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.1221, allocations: 104.9 kB / 0.5067 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.1221, allocations: 180.3 kB / 0.5069 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/0.1222, allocations: 108.9 kB / 0.507 GB, free: 3.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.1222, allocations: 75.28 kB / 0.5071 GB, free: 3.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1222, allocations: 0 / 0.5071 GB, free: 3.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1225, allocations: 4 kB / 0.5071 GB, free: 3.852 MB / 382.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.0001221/0.1226, allocations: 174.6 kB / 0.5072 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.1226, allocations: 8 kB / 0.5072 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1226, allocations: 0 / 0.5072 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1226, allocations: 0 / 0.5072 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.123, allocations: 455.6 kB / 0.5077 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.1232, allocations: 168.3 kB / 0.5078 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1236, allocations: 0.6729 MB / 0.5085 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.1236, allocations: 0 / 0.5085 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.1236, allocations: 7.438 kB / 0.5085 GB, free: 2.312 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1236, allocations: 3.938 kB / 0.5085 GB, free: 2.309 MB / 382.1 MB Notification: Performance of Templates: time 0.002047/0.1256, allocations: 177 kB / 0.5087 GB, free: 2.137 MB / 382.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=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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/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.930674974108115]