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.001455/0.001455, allocations: 71.77 kB / 20.73 MB, free: 3.758 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.001681/0.001681, allocations: 173.3 kB / 24.15 MB, free: 344 kB / 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.8731/0.8731, allocations: 158.6 MB / 186 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.04507/0.04507, allocations: 10.66 MB / 249 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_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.413e-06/1.413e-06, allocations: 0 / 269.2 MB, free: 124 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.273e-05, allocations: 2.312 kB / 269.2 MB, free: 120 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00134/0.001363, allocations: 0.5404 MB / 269.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.001609, allocations: 123.5 kB / 269.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.001633, allocations: 0 / 269.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.001645, allocations: 0 / 269.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.00185, allocations: 31.84 kB / 269.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.365e-06/0.001852, allocations: 0 / 269.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.752e-05/0.001879, allocations: 0 / 269.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.001914, allocations: 4 kB / 269.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.001934, allocations: 3.938 kB / 269.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.002025, allocations: 11.94 kB / 269.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.002029, allocations: 0 / 269.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-06/0.002032, allocations: 0 / 269.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-06/0.002038, allocations: 0 / 269.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.214e-06/0.002045, allocations: 4 kB / 269.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.042e-05/0.002075, allocations: 0 / 269.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.002078, allocations: 0 / 269.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.00208, allocations: 3.984 kB / 269.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.002084, allocations: 0 / 269.9 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.000176/0.00226, allocations: 212.8 kB / 270.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.002289, allocations: 8.031 kB / 270.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.002309, allocations: 4.938 kB / 270.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.768e-05/0.002377, allocations: 105.8 kB / 270.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.002385, allocations: 384 / 270.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-06/0.002391, allocations: 8.359 kB / 270.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.892e-05/0.00245, allocations: 39.98 kB / 270.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.002459, allocations: 4.125 kB / 270.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-06/0.002464, allocations: 384 / 270.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.00247, allocations: 4.359 kB / 270.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.084e-05/0.002481, allocations: 7.938 kB / 270.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.002699, allocations: 375.4 kB / 270.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.002751, allocations: 173.1 kB / 270.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.002768, allocations: 80.14 kB / 271 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.002785, allocations: 79.31 kB / 271 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.002816, allocations: 109.8 kB / 271.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.52e-07/0.002817, allocations: 0 / 271.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.483e-05/0.002861, allocations: 29.67 kB / 271.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.002902, allocations: 138.6 kB / 271.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/0.002955, allocations: 106.5 kB / 271.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.002961, allocations: 25.7 kB / 271.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.003056, allocations: 96.08 kB / 271.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.003058, allocations: 0 / 271.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.003078, allocations: 17.7 kB / 271.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.003165, allocations: 310.8 kB / 271.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-06/0.003168, allocations: 4.125 kB / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.003179, allocations: 13.72 kB / 271.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.003202, allocations: 13.72 kB / 271.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.003204, allocations: 0 / 271.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.563e-05/0.003259, allocations: 41.62 kB / 271.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.003269, allocations: 4 kB / 271.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.003273, allocations: 0 / 271.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.003284, allocations: 4.062 kB / 271.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.566e-05/0.00332, allocations: 8 kB / 271.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.003322, allocations: 0 / 271.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.003332, allocations: 4 kB / 271.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.003336, allocations: 0 / 271.9 MB, free: 13.23 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 5.61e-05/0.003392, allocations: 193 kB / 272.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.003426, allocations: 105 kB / 272.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.003455, allocations: 104.1 kB / 272.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.003492, allocations: 188.1 kB / 272.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.728e-05/0.00353, allocations: 176.3 kB / 272.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.86e-05/0.003568, allocations: 184.2 kB / 272.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.003679, allocations: 321.5 kB / 273.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.003701, allocations: 105 kB / 273.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.003837, allocations: 112.9 kB / 273.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.182e-05/0.003878, allocations: 180.2 kB / 273.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.003916, allocations: 180.2 kB / 273.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.489e-05/0.003951, allocations: 180.3 kB / 273.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-05/0.003984, allocations: 176.3 kB / 274.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.004359, allocations: 1.083 MB / 275.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.004396, allocations: 105 kB / 275.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.004447, allocations: 184.2 kB / 275.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.004489, allocations: 105 kB / 275.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.004536, allocations: 180.2 kB / 275.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.004562, allocations: 112.9 kB / 275.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.344e-05/0.004586, allocations: 4.859 kB / 275.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004586, allocations: 0 / 275.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.004768, allocations: 0 / 275.8 MB, free: 9.09 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.165e-05/0.004859, allocations: 159.6 kB / 276 MB, free: 8.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.263e-05/0.004912, allocations: 12.8 kB / 276 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.004918, allocations: 224 / 276 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.004919, allocations: 4 kB / 276 MB, free: 8.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.005105, allocations: 459.6 kB / 276.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.005271, allocations: 155.1 kB / 276.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.005299, allocations: 55.34 kB / 276.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.734e-05/0.005316, allocations: 0 / 276.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.005343, allocations: 51.38 kB / 276.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.005344, allocations: 0 / 276.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of Templates: time 0.00137/0.006715, allocations: 213.1 kB / 276.9 MB, free: 7.941 MB / 266.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 -s gbode -gbm=radauIIA3 -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.51908267615363]