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.001927/0.001927, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001931/0.001931, allocations: 156 kB / 23.01 MB, free: 4.605 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.52/1.52, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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.07824/0.07824, allocations: 12.54 MB / 272.3 MB, free: 4.578 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.002119/0.002119, allocations: 75.91 kB / 403.3 MB, free: 200 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1111, allocations: 57.68 MB / 461 MB, free: 6.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001983/0.1131, allocations: 493.1 kB / 461.5 MB, free: 5.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.1135, allocations: 115.6 kB / 461.6 MB, free: 5.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1135, allocations: 0 / 461.6 MB, free: 5.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.1135, allocations: 0 / 461.6 MB, free: 5.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.1139, allocations: 23.92 kB / 461.6 MB, free: 5.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.709e-06/0.1139, allocations: 0 / 461.6 MB, free: 5.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.114, allocations: 7.938 kB / 461.6 MB, free: 5.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.114, allocations: 0 / 461.6 MB, free: 5.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.114, allocations: 4 kB / 461.6 MB, free: 5.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1142, allocations: 11.98 kB / 461.6 MB, free: 5.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-06/0.1142, allocations: 0 / 461.6 MB, free: 5.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-06/0.1142, allocations: 0 / 461.6 MB, free: 5.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-06/0.1142, allocations: 0 / 461.6 MB, free: 5.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.1142, allocations: 3.938 kB / 461.6 MB, free: 5.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.005e-05/0.1143, allocations: 0 / 461.6 MB, free: 5.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.1143, allocations: 4 kB / 461.6 MB, free: 5.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1143, allocations: 0 / 461.6 MB, free: 5.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1143, allocations: 4 kB / 461.6 MB, free: 5.75 MB / 430.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.0003724/0.1147, allocations: 242.4 kB / 461.9 MB, free: 5.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1147, allocations: 11.97 kB / 461.9 MB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.1147, allocations: 0.9375 kB / 461.9 MB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.405e-05/0.1148, allocations: 102.5 kB / 462 MB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1149, allocations: 4.375 kB / 462 MB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.1149, allocations: 384 / 462 MB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.115, allocations: 51.91 kB / 462 MB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.115, allocations: 192 / 462 MB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.115, allocations: 3.938 kB / 462.1 MB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.115, allocations: 0 / 462.1 MB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.115, allocations: 8 kB / 462.1 MB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1154, allocations: 407.3 kB / 462.5 MB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1155, allocations: 177.1 kB / 462.6 MB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.1156, allocations: 88.06 kB / 462.7 MB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.1156, allocations: 75.28 kB / 462.8 MB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.1157, allocations: 109.8 kB / 462.9 MB, free: 4.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1157, allocations: 0 / 462.9 MB, free: 4.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.563e-05/0.1158, allocations: 29.64 kB / 462.9 MB, free: 4.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.1158, allocations: 126.7 kB / 463.1 MB, free: 4.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1159, allocations: 101.8 kB / 463.2 MB, free: 4.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1159, allocations: 29.83 kB / 463.2 MB, free: 4.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.116, allocations: 88.08 kB / 463.3 MB, free: 3.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.116, allocations: 0 / 463.3 MB, free: 3.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.116, allocations: 13.72 kB / 463.3 MB, free: 3.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1162, allocations: 318.8 kB / 463.6 MB, free: 3.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.1162, allocations: 4 kB / 463.6 MB, free: 3.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.1162, allocations: 13.72 kB / 463.6 MB, free: 3.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.1163, allocations: 13.72 kB / 463.6 MB, free: 3.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1163, allocations: 4 kB / 463.6 MB, free: 3.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.1164, allocations: 49.62 kB / 463.7 MB, free: 3.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1164, allocations: 10.19 kB / 463.7 MB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1164, allocations: 0 / 463.7 MB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1164, allocations: 0 / 463.7 MB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.1165, allocations: 4 kB / 463.7 MB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1165, allocations: 0 / 463.7 MB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.1165, allocations: 0 / 463.7 MB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.1165, allocations: 7.938 kB / 463.7 MB, free: 3.5 MB / 430.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.0001141/0.1166, allocations: 185.1 kB / 463.9 MB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.1167, allocations: 117 kB / 464 MB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.1167, allocations: 112.2 kB / 464.1 MB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/0.1168, allocations: 180.2 kB / 464.3 MB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.781e-05/0.1169, allocations: 180.3 kB / 464.5 MB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.131e-05/0.117, allocations: 180.2 kB / 464.6 MB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1172, allocations: 360.8 kB / 465 MB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-05/0.1172, allocations: 105 kB / 465.1 MB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.1173, allocations: 108.9 kB / 465.2 MB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.477e-05/0.1174, allocations: 180.3 kB / 465.4 MB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.1175, allocations: 184.2 kB / 465.5 MB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.827e-05/0.1175, allocations: 180.3 kB / 465.7 MB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-05/0.1176, allocations: 184.4 kB / 465.9 MB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1178, allocations: 303.8 kB / 466.2 MB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1179, allocations: 112.8 kB / 466.3 MB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.118, allocations: 184.2 kB / 466.5 MB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1181, allocations: 105 kB / 466.6 MB, free: 440 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.1182, allocations: 184.2 kB / 466.8 MB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.1183, allocations: 105 kB / 466.9 MB, free: 136 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.1183, allocations: 79.27 kB / 467 MB, free: 56 kB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1183, allocations: 0 / 467 MB, free: 56 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1185, allocations: 4.094 kB / 467 MB, free: 52 kB / 430.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.000136/0.1187, allocations: 171 kB / 467.1 MB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.1187, allocations: 11.88 kB / 467.1 MB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1187, allocations: 0 / 467.1 MB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-06/0.1187, allocations: 4 kB / 467.1 MB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1191, allocations: 455.7 kB / 467.6 MB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.1193, allocations: 156.1 kB / 467.7 MB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.1194, allocations: 63.28 kB / 467.8 MB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.1194, allocations: 4.125 kB / 467.8 MB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.1194, allocations: 8.5 kB / 467.8 MB, free: 15.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1194, allocations: 0 / 467.8 MB, free: 15.14 MB / 446.1 MB Notification: Performance of Templates: time 0.002097/0.1215, allocations: 177.1 kB / 468 MB, free: 14.96 MB / 446.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 -s ida -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/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.559909531031735]