Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001063/0.001063, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001378/0.001378, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9749/0.9749, allocations: 158.6 MB / 185.2 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04011/0.04011, allocations: 10.65 MB / 248.2 MB, free: 4.359 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 268.4 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.137e-05, allocations: 2.312 kB / 268.4 MB, free: 168 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002065/0.002096, allocations: 0.505 MB / 268.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.002478, allocations: 123.5 kB / 269 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.002506, allocations: 0 / 269 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.002523, allocations: 0 / 269 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.002856, allocations: 19.86 kB / 269 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.002859, allocations: 0 / 269 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.968e-05/0.002899, allocations: 4 kB / 269 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.002945, allocations: 4 kB / 269 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.00297, allocations: 0 / 269 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.003114, allocations: 23.91 kB / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-06/0.003121, allocations: 0 / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.003124, allocations: 0 / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.003133, allocations: 0 / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.938e-06/0.003143, allocations: 0 / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.597e-05/0.003189, allocations: 0 / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003192, allocations: 0 / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003193, allocations: 4 kB / 269.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.003196, allocations: 0 / 269.1 MB, free: 15.48 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.0002468/0.003443, allocations: 208.8 kB / 269.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.003489, allocations: 8.031 kB / 269.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.003515, allocations: 0.9375 kB / 269.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.461e-05/0.0036, allocations: 113.8 kB / 269.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.003613, allocations: 384 / 269.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.003623, allocations: 384 / 269.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.704e-05/0.00371, allocations: 47.92 kB / 269.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.003719, allocations: 192 / 269.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.003725, allocations: 384 / 269.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.003732, allocations: 4.375 kB / 269.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.003749, allocations: 7.938 kB / 269.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.004066, allocations: 375.3 kB / 269.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.004145, allocations: 165.1 kB / 270 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.004178, allocations: 88.12 kB / 270.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.004204, allocations: 79.31 kB / 270.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.004253, allocations: 105.8 kB / 270.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.004254, allocations: 0 / 270.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.565e-05/0.00433, allocations: 37.61 kB / 270.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.004393, allocations: 138.6 kB / 270.4 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.004479, allocations: 110.6 kB / 270.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.004491, allocations: 25.7 kB / 270.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.004543, allocations: 88.09 kB / 270.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.004545, allocations: 0 / 270.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.004578, allocations: 13.72 kB / 270.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.004682, allocations: 310.8 kB / 271 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-06/0.004689, allocations: 0 / 271 MB, free: 13.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.004711, allocations: 17.72 kB / 271 MB, free: 13.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.004755, allocations: 29.81 kB / 271 MB, free: 13.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.004758, allocations: 0 / 271 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.592e-05/0.004854, allocations: 37.64 kB / 271 MB, free: 13.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.004871, allocations: 4 kB / 271 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.004877, allocations: 0 / 271 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.004895, allocations: 3.938 kB / 271 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.004949, allocations: 4 kB / 271.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.004954, allocations: 3.984 kB / 271.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.004972, allocations: 4 kB / 271.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.004981, allocations: 8.062 kB / 271.1 MB, free: 13.3 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 9.42e-05/0.005075, allocations: 181.1 kB / 271.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.005136, allocations: 105 kB / 271.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.005192, allocations: 108.1 kB / 271.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-05/0.005255, allocations: 184.2 kB / 271.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-05/0.005313, allocations: 188.2 kB / 271.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/0.005369, allocations: 176.3 kB / 272 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.00555, allocations: 313.5 kB / 272.3 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/0.005588, allocations: 104.9 kB / 272.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.005625, allocations: 101 kB / 272.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.86e-05/0.005693, allocations: 192.2 kB / 272.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.005753, allocations: 176.3 kB / 272.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-05/0.005813, allocations: 184.3 kB / 273 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-05/0.005871, allocations: 180.2 kB / 273.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.00601, allocations: 307.9 kB / 273.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.006057, allocations: 113 kB / 273.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.00613, allocations: 180.3 kB / 273.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.006201, allocations: 104.9 kB / 273.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.006263, allocations: 192.2 kB / 274.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.0063, allocations: 108.9 kB / 274.2 MB, free: 10 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.861e-05/0.006318, allocations: 12.86 kB / 274.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006318, allocations: 0 / 274.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.006523, allocations: 0 / 274.2 MB, free: 9.984 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 0.0001303/0.006653, allocations: 147.7 kB / 274.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.758e-05/0.006711, allocations: 8.859 kB / 274.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.006718, allocations: 0 / 274.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.00672, allocations: 0 / 274.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.007005, allocations: 463.6 kB / 274.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.007218, allocations: 151.1 kB / 275 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.824e-05/0.007257, allocations: 59.52 kB / 275 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.185e-05/0.007279, allocations: 4 kB / 275 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.007311, allocations: 47.38 kB / 275.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.007312, allocations: 0 / 275.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of Templates: time 0.001864/0.009176, allocations: 217.1 kB / 275.3 MB, free: 8.848 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.8769113421440125]