Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.0009927/0.0009927, allocations: 96.2 kB / 20.44 MB, free: 4.133 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.00109/0.00109, allocations: 165 kB / 23.81 MB, free: 0.7617 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.8944/0.8944, allocations: 158.6 MB / 185.7 MB, free: 2.898 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.03974/0.03974, allocations: 10.65 MB / 248.7 MB, free: 4.461 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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 317.8 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.368e-05, allocations: 2.312 kB / 317.8 MB, free: 41.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001143/0.001167, allocations: 499.2 kB / 318.3 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002906/0.001457, allocations: 119.6 kB / 318.4 MB, free: 41.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.001489, allocations: 0 / 318.4 MB, free: 41.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.001517, allocations: 3.938 kB / 318.4 MB, free: 41.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.001857, allocations: 31.84 kB / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.001861, allocations: 0 / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.589e-05/0.001897, allocations: 0 / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.001934, allocations: 0 / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.001953, allocations: 4 kB / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.002069, allocations: 7.984 kB / 318.4 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.002075, allocations: 0 / 318.4 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.706e-06/0.002077, allocations: 0 / 318.4 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.312e-06/0.002084, allocations: 0 / 318.4 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.073e-05/0.002094, allocations: 7.938 kB / 318.5 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.818e-05/0.002133, allocations: 4 kB / 318.5 MB, free: 41.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002135, allocations: 0 / 318.5 MB, free: 41.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002135, allocations: 0 / 318.5 MB, free: 41.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.00214, allocations: 0 / 318.5 MB, free: 41.38 MB / 282.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.0001917/0.002332, allocations: 336.4 kB / 318.8 MB, free: 41.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.002371, allocations: 8.031 kB / 318.8 MB, free: 41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.002407, allocations: 11.33 kB / 318.8 MB, free: 41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.61e-05/0.002454, allocations: 104.6 kB / 318.9 MB, free: 40.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.002464, allocations: 384 / 318.9 MB, free: 40.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.002472, allocations: 4.359 kB / 318.9 MB, free: 40.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.3e-05/0.002555, allocations: 57.58 kB / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.002563, allocations: 4.188 kB / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.002572, allocations: 384 / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.00258, allocations: 384 / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.36e-05/0.002594, allocations: 3.938 kB / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.002824, allocations: 0.5948 MB / 319.6 MB, free: 40.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.002879, allocations: 265.4 kB / 319.8 MB, free: 39.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.002899, allocations: 130.9 kB / 320 MB, free: 39.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.002913, allocations: 119.2 kB / 320.1 MB, free: 39.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.002944, allocations: 156.6 kB / 320.2 MB, free: 39.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.002945, allocations: 4 kB / 320.2 MB, free: 39.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.936e-05/0.003015, allocations: 37.58 kB / 320.3 MB, free: 39.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.003059, allocations: 174.6 kB / 320.4 MB, free: 39.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.003133, allocations: 153.9 kB / 320.6 MB, free: 39.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.003138, allocations: 29.7 kB / 320.6 MB, free: 39.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.00317, allocations: 135.2 kB / 320.7 MB, free: 38.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.003173, allocations: 0 / 320.7 MB, free: 38.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.003194, allocations: 19.38 kB / 320.8 MB, free: 38.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.12e-05/0.003236, allocations: 492.1 kB / 321.2 MB, free: 38.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.003242, allocations: 3.984 kB / 321.3 MB, free: 38.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.003252, allocations: 23.5 kB / 321.3 MB, free: 38.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.003279, allocations: 27.31 kB / 321.3 MB, free: 38.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.003281, allocations: 3.938 kB / 321.3 MB, free: 38.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.494e-05/0.003356, allocations: 33.7 kB / 321.3 MB, free: 38.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.003368, allocations: 7.938 kB / 321.3 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.003374, allocations: 4 kB / 321.3 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.003387, allocations: 0 / 321.3 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.003435, allocations: 4.109 kB / 321.4 MB, free: 38.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.003441, allocations: 12.95 kB / 321.4 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-06/0.003451, allocations: 3.953 kB / 321.4 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.003455, allocations: 0 / 321.4 MB, free: 38.23 MB / 282.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 4.376e-05/0.003499, allocations: 279.8 kB / 321.6 MB, free: 37.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.003521, allocations: 144.9 kB / 321.8 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.003553, allocations: 152 kB / 321.9 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.003574, allocations: 280.1 kB / 322.2 MB, free: 37.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/0.003596, allocations: 264.1 kB / 322.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.003617, allocations: 272 kB / 322.7 MB, free: 36.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.531e-05/0.003703, allocations: 495.9 kB / 323.2 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.003716, allocations: 156.8 kB / 323.4 MB, free: 36.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.00373, allocations: 152.9 kB / 323.5 MB, free: 35.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.91e-05/0.003759, allocations: 264.1 kB / 323.8 MB, free: 35.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.003783, allocations: 268 kB / 324 MB, free: 35.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.227e-05/0.003805, allocations: 276 kB / 324.3 MB, free: 35.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.119e-05/0.003827, allocations: 268 kB / 324.6 MB, free: 34.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.004077, allocations: 1.618 MB / 326.2 MB, free: 33.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.004107, allocations: 144.9 kB / 326.3 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.004145, allocations: 272 kB / 326.6 MB, free: 32.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.004204, allocations: 144.9 kB / 326.7 MB, free: 32.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.004246, allocations: 280 kB / 327 MB, free: 32.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.004264, allocations: 148.9 kB / 327.2 MB, free: 32.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.324e-05/0.004287, allocations: 119.2 kB / 327.3 MB, free: 32.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.004287, allocations: 0 / 327.3 MB, free: 32.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00025/0.004537, allocations: 3.938 kB / 327.3 MB, free: 32.07 MB / 282.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.653e-05/0.004604, allocations: 210.4 kB / 327.5 MB, free: 31.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.004697, allocations: 15.62 kB / 327.5 MB, free: 31.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.004698, allocations: 0 / 327.5 MB, free: 31.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.004699, allocations: 224 / 327.5 MB, free: 31.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.004932, allocations: 0.7156 MB / 328.2 MB, free: 31.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.005158, allocations: 208.5 kB / 328.4 MB, free: 30.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.439e-05/0.005182, allocations: 51.36 kB / 328.5 MB, free: 30.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.005202, allocations: 0 / 328.5 MB, free: 30.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.005229, allocations: 8.5 kB / 328.5 MB, free: 30.8 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.005229, allocations: 0 / 328.5 MB, free: 30.8 MB / 282.7 MB Notification: Performance of Templates: time 0.001778/0.007007, allocations: 215.5 kB / 328.7 MB, free: 30.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.7593971178866923]