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.0007619/0.0007619, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001824, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0007177/0.0007177, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000856/0.001574, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9322/0.9322, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09011/1.022, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.04848/0.04848, allocations: 13.29 MB / 257.2 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008571/0.05705, allocations: 5.038 MB / 262.3 MB, free: 12.94 MB / 266.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.172e-06/1.172e-06, allocations: 0 / 263.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.227e-05, allocations: 6.312 kB / 263.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0008313/0.0008436, allocations: 0.5246 MB / 264.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.0009722, allocations: 127.6 kB / 264.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.426e-05/0.0009864, allocations: 0 / 264.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.246e-06/0.0009897, allocations: 0 / 264.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.263e-05/0.001082, allocations: 19.92 kB / 264.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.414e-06/0.001085, allocations: 0 / 264.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.765e-05/0.001112, allocations: 3.938 kB / 264.2 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.05e-05/0.001143, allocations: 0 / 264.2 MB, free: 11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.001163, allocations: 7.984 kB / 264.2 MB, free: 11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.001239, allocations: 15.98 kB / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-06/0.001244, allocations: 0 / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-06/0.001246, allocations: 0 / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-06/0.001252, allocations: 0 / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.709e-06/0.001262, allocations: 0 / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.524e-05/0.001297, allocations: 3.938 kB / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.001308, allocations: 0 / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.001309, allocations: 0 / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.001321, allocations: 4 kB / 264.2 MB, free: 10.97 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.0003176/0.001638, allocations: 212.7 kB / 264.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.001665, allocations: 12.03 kB / 264.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.001688, allocations: 4.938 kB / 264.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.976e-05/0.001738, allocations: 101.8 kB / 264.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.001746, allocations: 384 / 264.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-06/0.001751, allocations: 384 / 264.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.373e-05/0.001815, allocations: 47.92 kB / 264.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.001821, allocations: 192 / 264.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.001826, allocations: 4.375 kB / 264.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.00183, allocations: 384 / 264.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.001846, allocations: 15.91 kB / 264.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.00202, allocations: 375 kB / 265 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.002072, allocations: 173.2 kB / 265.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.002092, allocations: 80.14 kB / 265.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.002108, allocations: 75.28 kB / 265.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.002137, allocations: 105.8 kB / 265.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.11e-07/0.002137, allocations: 0 / 265.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.117e-05/0.002178, allocations: 41.56 kB / 265.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.002217, allocations: 126.7 kB / 265.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.286e-05/0.00227, allocations: 102.7 kB / 265.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.002277, allocations: 29.83 kB / 265.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.002309, allocations: 84.09 kB / 265.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-06/0.002313, allocations: 0 / 265.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.002329, allocations: 13.72 kB / 265.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.002393, allocations: 318.9 kB / 266.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.002397, allocations: 7.938 kB / 266.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.002407, allocations: 13.72 kB / 266.1 MB, free: 8.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.002428, allocations: 17.66 kB / 266.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.002429, allocations: 0 / 266.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.362e-05/0.002483, allocations: 41.75 kB / 266.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.002492, allocations: 4 kB / 266.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.002497, allocations: 4 kB / 266.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.002505, allocations: 3.938 kB / 266.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.002545, allocations: 15.92 kB / 266.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.002547, allocations: 0 / 266.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-06/0.002556, allocations: 0 / 266.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.002559, allocations: 0 / 266.2 MB, free: 8.801 MB / 266.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 0.0002817/0.002841, allocations: 189.1 kB / 266.4 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.002871, allocations: 105 kB / 266.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.002903, allocations: 116.1 kB / 266.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-05/0.002939, allocations: 184.2 kB / 266.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-05/0.002972, allocations: 176.3 kB / 267 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.902e-05/0.003011, allocations: 184.2 kB / 267.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.003118, allocations: 313.4 kB / 267.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.003142, allocations: 108.9 kB / 267.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.003162, allocations: 101 kB / 267.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.003188, allocations: 101 kB / 267.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.74e-05/0.003225, allocations: 184.2 kB / 268 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.003261, allocations: 184.2 kB / 268.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.26e-05/0.003293, allocations: 184.2 kB / 268.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-05/0.003327, allocations: 184.2 kB / 268.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.045e-05/0.003398, allocations: 299.8 kB / 268.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.003443, allocations: 180.5 kB / 269 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.003483, allocations: 112.9 kB / 269.1 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.00352, allocations: 184.3 kB / 269.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.003541, allocations: 108.9 kB / 269.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.358e-06/0.003551, allocations: 12.84 kB / 269.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.003551, allocations: 0 / 269.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001033/0.003654, allocations: 0 / 269.4 MB, free: 5.48 MB / 266.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.045e-05/0.003714, allocations: 155.8 kB / 269.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.907e-05/0.003754, allocations: 8.859 kB / 269.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.00376, allocations: 7.938 kB / 269.5 MB, free: 5.301 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.003761, allocations: 4 kB / 269.5 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.003913, allocations: 455.6 kB / 270 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001171/0.00403, allocations: 159 kB / 270.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.283e-05/0.004053, allocations: 55.34 kB / 270.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.224e-05/0.004065, allocations: 4.125 kB / 270.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.004087, allocations: 51.38 kB / 270.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of SimCode: time 3.9e-07/0.004088, allocations: 0 / 270.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of Templates: time 0.001223/0.005311, allocations: 212.9 kB / 270.5 MB, free: 4.328 MB / 266.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 -ignoreHideResult -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.4346322007477283]