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.00142/0.00142, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001666/0.001666, allocations: 173.7 kB / 23.27 MB, free: 1.227 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.9152/0.9152, allocations: 158.6 MB / 185.2 MB, free: 2.793 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.0495/0.0495, allocations: 10.65 MB / 248.2 MB, free: 4.293 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.084e-06/2.084e-06, allocations: 0 / 317.5 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.913e-05, allocations: 3.188 kB / 317.5 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00125/0.001279, allocations: 0.4986 MB / 318 MB, free: 41.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.001529, allocations: 115.6 kB / 318.1 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.00156, allocations: 0 / 318.1 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.001577, allocations: 4 kB / 318.1 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.001847, allocations: 23.86 kB / 318.1 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.377e-06/0.00185, allocations: 0 / 318.1 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.743e-05/0.001878, allocations: 0 / 318.1 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.001918, allocations: 7.984 kB / 318.1 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.231e-05/0.00194, allocations: 0 / 318.1 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.002053, allocations: 12 kB / 318.1 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.002059, allocations: 3.938 kB / 318.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.958e-06/0.002063, allocations: 0 / 318.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.002072, allocations: 3.984 kB / 318.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.002086, allocations: 0 / 318.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.876e-05/0.002124, allocations: 0 / 318.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002126, allocations: 0 / 318.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002127, allocations: 0 / 318.1 MB, free: 41.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.002131, allocations: 0 / 318.1 MB, free: 41.1 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.0001753/0.002306, allocations: 340.4 kB / 318.5 MB, free: 40.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.002344, allocations: 12.03 kB / 318.5 MB, free: 40.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.002368, allocations: 7.344 kB / 318.5 MB, free: 40.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.867e-05/0.002417, allocations: 104.6 kB / 318.6 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.002429, allocations: 4.375 kB / 318.6 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.002437, allocations: 384 / 318.6 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.236e-05/0.002509, allocations: 49.58 kB / 318.6 MB, free: 40.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.002518, allocations: 192 / 318.6 MB, free: 40.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.002524, allocations: 4.359 kB / 318.6 MB, free: 40.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.00253, allocations: 384 / 318.6 MB, free: 40.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.087e-05/0.002541, allocations: 7.938 kB / 318.6 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.002745, allocations: 0.5758 MB / 319.2 MB, free: 39.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.002793, allocations: 269.5 kB / 319.5 MB, free: 39.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.002809, allocations: 126.9 kB / 319.6 MB, free: 39.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.002822, allocations: 119.2 kB / 319.7 MB, free: 39.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.002845, allocations: 156.6 kB / 319.9 MB, free: 39.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.002846, allocations: 4 kB / 319.9 MB, free: 39.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.799e-05/0.002894, allocations: 37.58 kB / 319.9 MB, free: 39.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.00292, allocations: 170.6 kB / 320.1 MB, free: 38.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.002971, allocations: 157.9 kB / 320.2 MB, free: 38.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-06/0.002976, allocations: 25.7 kB / 320.3 MB, free: 38.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.003003, allocations: 131.3 kB / 320.4 MB, free: 38.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.003005, allocations: 7.938 kB / 320.4 MB, free: 38.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.003029, allocations: 27.34 kB / 320.4 MB, free: 38.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.405e-05/0.003073, allocations: 492.1 kB / 320.9 MB, free: 38.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.003077, allocations: 0 / 320.9 MB, free: 38.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.003088, allocations: 19.38 kB / 320.9 MB, free: 38.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.003114, allocations: 27.31 kB / 320.9 MB, free: 38.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.003116, allocations: 0.875 kB / 320.9 MB, free: 38.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.331e-05/0.00318, allocations: 37.81 kB / 321 MB, free: 38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.00319, allocations: 8 kB / 321 MB, free: 38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.003195, allocations: 7.938 kB / 321 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.003208, allocations: 3.938 kB / 321 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.003251, allocations: 4 kB / 321 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.003255, allocations: 0 / 321 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-06/0.003264, allocations: 3.953 kB / 321 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.003269, allocations: 4 kB / 321 MB, free: 37.97 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 5.082e-05/0.00332, allocations: 275.8 kB / 321.3 MB, free: 37.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.003344, allocations: 148.9 kB / 321.4 MB, free: 37.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.003376, allocations: 164 kB / 321.6 MB, free: 37.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.003402, allocations: 276.1 kB / 321.9 MB, free: 37.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/0.003429, allocations: 268 kB / 322.1 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.003455, allocations: 272.1 kB / 322.4 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.894e-05/0.003554, allocations: 480.5 kB / 322.9 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.003569, allocations: 148.8 kB / 323 MB, free: 35.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.003584, allocations: 148.9 kB / 323.1 MB, free: 35.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.003607, allocations: 268 kB / 323.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.003634, allocations: 268.1 kB / 323.7 MB, free: 35.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-05/0.003658, allocations: 268.1 kB / 323.9 MB, free: 34.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-05/0.003685, allocations: 272 kB / 324.2 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.003753, allocations: 447.9 kB / 324.6 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.003774, allocations: 148.9 kB / 324.8 MB, free: 34.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.003804, allocations: 268.1 kB / 325 MB, free: 33.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.355e-05/0.003838, allocations: 152.8 kB / 325.2 MB, free: 33.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.003864, allocations: 272 kB / 325.5 MB, free: 33.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.003878, allocations: 148.8 kB / 325.6 MB, free: 33.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.224e-05/0.0039, allocations: 123.2 kB / 325.7 MB, free: 33.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0039, allocations: 0 / 325.7 MB, free: 33.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001259/0.004026, allocations: 3.938 kB / 325.7 MB, free: 33.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 7.189e-05/0.004098, allocations: 214.5 kB / 325.9 MB, free: 32.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.434e-05/0.004152, allocations: 11.67 kB / 325.9 MB, free: 32.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.004154, allocations: 4 kB / 326 MB, free: 32.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.004155, allocations: 0 / 326 MB, free: 32.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.004336, allocations: 0.7088 MB / 326.7 MB, free: 32.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001536/0.00449, allocations: 208.5 kB / 326.9 MB, free: 31.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.137e-05/0.004511, allocations: 51.36 kB / 326.9 MB, free: 31.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.004531, allocations: 3.984 kB / 326.9 MB, free: 31.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.004557, allocations: 70.33 kB / 327 MB, free: 31.74 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.004558, allocations: 4 kB / 327 MB, free: 31.74 MB / 282.7 MB Notification: Performance of Templates: time 0.001432/0.00599, allocations: 200.4 kB / 327.2 MB, free: 31.55 MB / 282.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.7261218721978366]