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.001193/0.001193, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001563/0.001563, allocations: 177 kB / 23.36 MB, free: 1.133 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.8945/0.8945, allocations: 158.6 MB / 185.2 MB, free: 2.77 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.04747/0.04747, allocations: 10.66 MB / 248.2 MB, free: 4.348 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 1.683e-06/1.683e-06, allocations: 0 / 268.4 MB, free: 116 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.046e-05, allocations: 2.312 kB / 268.4 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001496/0.001517, allocations: 0.5404 MB / 269 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002463/0.001763, allocations: 123.5 kB / 269.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.001785, allocations: 0 / 269.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.001799, allocations: 0 / 269.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.002005, allocations: 23.88 kB / 269.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.755e-06/0.002008, allocations: 0 / 269.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.04e-05/0.002038, allocations: 7.922 kB / 269.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.002078, allocations: 7.984 kB / 269.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.0021, allocations: 0 / 269.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.002203, allocations: 11.94 kB / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-06/0.002208, allocations: 0 / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-06/0.002212, allocations: 0 / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.002219, allocations: 0 / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-06/0.002227, allocations: 0 / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.629e-05/0.002263, allocations: 4 kB / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002266, allocations: 0 / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002266, allocations: 0 / 269.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.00227, allocations: 0 / 269.2 MB, free: 15.39 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.0001823/0.002453, allocations: 220.8 kB / 269.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.002485, allocations: 8.031 kB / 269.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.002506, allocations: 0.9375 kB / 269.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.636e-05/0.002562, allocations: 105.8 kB / 269.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.002572, allocations: 384 / 269.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-06/0.002577, allocations: 384 / 269.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.03e-05/0.002647, allocations: 47.97 kB / 269.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.002654, allocations: 4.125 kB / 269.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-06/0.002659, allocations: 384 / 269.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.002665, allocations: 384 / 269.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-06/0.002675, allocations: 7.938 kB / 269.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.002881, allocations: 371.4 kB / 269.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.002956, allocations: 169.1 kB / 270.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.002987, allocations: 84.12 kB / 270.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.003012, allocations: 79.31 kB / 270.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.003061, allocations: 113.8 kB / 270.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.003062, allocations: 4 kB / 270.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.99e-05/0.003122, allocations: 33.61 kB / 270.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.003172, allocations: 138.6 kB / 270.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.003262, allocations: 102.6 kB / 270.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.003274, allocations: 29.7 kB / 270.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.003315, allocations: 84.09 kB / 270.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.003317, allocations: 0 / 270.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.003341, allocations: 17.7 kB / 270.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.003414, allocations: 314.8 kB / 271.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-06/0.003418, allocations: 0 / 271.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.003432, allocations: 17.84 kB / 271.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.003461, allocations: 13.72 kB / 271.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.003463, allocations: 0 / 271.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.743e-05/0.00353, allocations: 49.62 kB / 271.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.003544, allocations: 4 kB / 271.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.003548, allocations: 0 / 271.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.003562, allocations: 7.938 kB / 271.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.003604, allocations: 0 / 271.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.003608, allocations: 8.125 kB / 271.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.007e-05/0.003618, allocations: 0 / 271.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.003623, allocations: 0 / 271.1 MB, free: 13.21 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 6.938e-05/0.003692, allocations: 189.1 kB / 271.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.003732, allocations: 109 kB / 271.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.003765, allocations: 104.1 kB / 271.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/0.003805, allocations: 188.1 kB / 271.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.373e-05/0.003858, allocations: 176.3 kB / 271.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/0.00392, allocations: 184.2 kB / 272.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.0041, allocations: 317.4 kB / 272.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.004134, allocations: 105 kB / 272.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.004171, allocations: 108.9 kB / 272.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-05/0.004228, allocations: 176.3 kB / 272.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.004289, allocations: 184.2 kB / 272.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.256e-05/0.004332, allocations: 184.2 kB / 273.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.093e-05/0.004373, allocations: 180.2 kB / 273.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.767e-05/0.00447, allocations: 304 kB / 273.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.004508, allocations: 116.9 kB / 273.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.004562, allocations: 180.3 kB / 273.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.004608, allocations: 112.9 kB / 274 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.004653, allocations: 176.3 kB / 274.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.004678, allocations: 108.9 kB / 274.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.596e-05/0.004694, allocations: 16.84 kB / 274.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004694, allocations: 0 / 274.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.004813, allocations: 0 / 274.3 MB, free: 9.891 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 9.64e-05/0.004909, allocations: 151.6 kB / 274.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.037e-05/0.00496, allocations: 8.859 kB / 274.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.004966, allocations: 0 / 274.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.004967, allocations: 0 / 274.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.005157, allocations: 459.9 kB / 274.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.005318, allocations: 155.1 kB / 275.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.005355, allocations: 67.22 kB / 275.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.74e-05/0.005383, allocations: 0 / 275.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.005419, allocations: 47.38 kB / 275.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00542, allocations: 0 / 275.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of Templates: time 0.001817/0.007237, allocations: 213.1 kB / 275.4 MB, free: 8.75 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 -s gbode -gbm=radauIIA3 -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.6138757350854576]