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.001046/0.001046, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009353/0.0009353, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 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.9592/0.9592, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.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.04811/0.04811, allocations: 12.96 MB / 272.9 MB, free: 472 kB / 250.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.673e-06/1.673e-06, allocations: 0 / 347 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.998e-05, allocations: 2.312 kB / 347 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001529/0.001559, allocations: 0.497 MB / 347.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.00185, allocations: 115.6 kB / 347.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.001877, allocations: 0 / 347.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.001899, allocations: 0 / 347.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.002188, allocations: 23.88 kB / 347.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.002191, allocations: 0 / 347.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.792e-05/0.002229, allocations: 3.984 kB / 347.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.002268, allocations: 0 / 347.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.00229, allocations: 7.938 kB / 347.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.002414, allocations: 11.92 kB / 347.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.00242, allocations: 0 / 347.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.002424, allocations: 4 kB / 347.7 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.00243, allocations: 4 kB / 347.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.147e-05/0.002442, allocations: 0 / 347.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.102e-05/0.002483, allocations: 0 / 347.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.002486, allocations: 0 / 347.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002487, allocations: 0 / 347.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.002491, allocations: 0 / 347.7 MB, free: 0.9297 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.0001994/0.002691, allocations: 336.4 kB / 348 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.002732, allocations: 12.03 kB / 348 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.00277, allocations: 4.938 kB / 348 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.132e-05/0.002821, allocations: 104.6 kB / 348.1 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.002835, allocations: 384 / 348.1 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.002845, allocations: 8.375 kB / 348.1 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.002942, allocations: 49.62 kB / 348.2 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.00295, allocations: 192 / 348.2 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.002959, allocations: 4.312 kB / 348.2 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.002968, allocations: 384 / 348.2 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.002983, allocations: 7.938 kB / 348.2 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.00329, allocations: 0.587 MB / 348.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.003399, allocations: 277.3 kB / 349.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.003441, allocations: 126.9 kB / 349.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.003475, allocations: 123.2 kB / 349.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.003533, allocations: 152.6 kB / 349.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.003534, allocations: 0 / 349.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.782e-05/0.003602, allocations: 33.64 kB / 349.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.003671, allocations: 174.5 kB / 349.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.003769, allocations: 157.9 kB / 349.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.003781, allocations: 25.7 kB / 349.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.003837, allocations: 139.1 kB / 350 MB, free: 14.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.00384, allocations: 0 / 350 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.003874, allocations: 23.38 kB / 350 MB, free: 14.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.00401, allocations: 492.2 kB / 350.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.00402, allocations: 4 kB / 350.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.00404, allocations: 19.38 kB / 350.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.004078, allocations: 19.38 kB / 350.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.00408, allocations: 0 / 350.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001154/0.004195, allocations: 45.62 kB / 350.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.004212, allocations: 7.938 kB / 350.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.004218, allocations: 4 kB / 350.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.004232, allocations: 4.125 kB / 350.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.00429, allocations: 4 kB / 350.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.004296, allocations: 0 / 350.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.004315, allocations: 7.953 kB / 350.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.004321, allocations: 0 / 350.6 MB, free: 13.79 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 0.0001022/0.004423, allocations: 279.7 kB / 350.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.00449, allocations: 148.9 kB / 351 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.004547, allocations: 160 kB / 351.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.387e-05/0.004621, allocations: 272.1 kB / 351.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.191e-05/0.004693, allocations: 264.1 kB / 351.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.642e-05/0.004769, allocations: 276 kB / 352 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.005007, allocations: 499.9 kB / 352.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.358e-05/0.005061, allocations: 148.9 kB / 352.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/0.005156, allocations: 148.8 kB / 352.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-05/0.005239, allocations: 264.1 kB / 353 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.005333, allocations: 276 kB / 353.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.732e-05/0.005411, allocations: 272 kB / 353.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.541e-05/0.005486, allocations: 264.1 kB / 353.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.005667, allocations: 452 kB / 354.2 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.005725, allocations: 152.8 kB / 354.4 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.005818, allocations: 264.1 kB / 354.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.005901, allocations: 156.8 kB / 354.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.005982, allocations: 272 kB / 355.1 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.006032, allocations: 144.9 kB / 355.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.00608, allocations: 127.2 kB / 355.3 MB, free: 8.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.00608, allocations: 0 / 355.3 MB, free: 8.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.006323, allocations: 0 / 355.3 MB, free: 8.855 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 0.0001282/0.006452, allocations: 210.4 kB / 355.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.487e-05/0.006547, allocations: 15.62 kB / 355.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.006549, allocations: 224 / 355.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.00655, allocations: 4 kB / 355.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.00695, allocations: 0.7062 MB / 356.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.007204, allocations: 212.5 kB / 356.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.802e-05/0.007242, allocations: 51.36 kB / 356.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.007266, allocations: 3.938 kB / 356.5 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.007286, allocations: 8.5 kB / 356.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.007287, allocations: 0 / 356.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of Templates: time 0.002123/0.009411, allocations: 205.1 kB / 356.7 MB, free: 7.387 MB / 282.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 -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.7360706189647317]