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.001224/0.001224, allocations: 85.05 kB / 9.997 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001952/0.003176, allocations: 444 kB / 10.43 MB, free: 264 kB / 10.45 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.001185/0.001185, allocations: 157.1 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01359/0.01478, allocations: 483.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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.9871/0.9871, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1826/1.17, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.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.03875/0.03875, allocations: 10.65 MB / 232.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006379/0.04513, allocations: 4.152 MB / 236.2 MB, free: 1.809 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.202e-06/1.202e-06, allocations: 0 / 237.5 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.256e-05, allocations: 2.312 kB / 237.5 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0008917/0.0009043, allocations: 0.5479 MB / 238 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.001035, allocations: 115.6 kB / 238.2 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.001048, allocations: 11.94 kB / 238.2 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.816e-06/0.001051, allocations: 0 / 238.2 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.001142, allocations: 15.91 kB / 238.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.244e-06/0.001144, allocations: 0 / 238.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 2.761e-05/0.001171, allocations: 8 kB / 238.2 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.042e-05/0.001202, allocations: 0 / 238.2 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.001225, allocations: 3.938 kB / 238.2 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.001309, allocations: 19.92 kB / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-06/0.001313, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.956e-06/0.001316, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.001325, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-06/0.001333, allocations: 4 kB / 238.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 3.853e-05/0.001371, allocations: 0 / 238.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.001384, allocations: 0 / 238.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.6e-07/0.001384, allocations: 0 / 238.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.001392, allocations: 0 / 238.2 MB, free: 15.8 MB / 250.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.0001751/0.001567, allocations: 212.7 kB / 238.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.001593, allocations: 15.89 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.001618, allocations: 4.938 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.119e-05/0.001669, allocations: 105.8 kB / 238.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.001676, allocations: 4.375 kB / 238.6 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.001684, allocations: 384 / 238.6 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.466e-05/0.001748, allocations: 43.98 kB / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.001755, allocations: 4.125 kB / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.00176, allocations: 384 / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.001763, allocations: 4.312 kB / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.147e-05/0.001775, allocations: 7.938 kB / 238.6 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.001966, allocations: 371.1 kB / 239 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.002024, allocations: 173.1 kB / 239.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.002048, allocations: 88.12 kB / 239.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.002065, allocations: 75.28 kB / 239.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.0021, allocations: 109.8 kB / 239.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.0021, allocations: 0 / 239.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.625e-05/0.002147, allocations: 29.64 kB / 239.4 MB, free: 14.47 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.002189, allocations: 130.6 kB / 239.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.002247, allocations: 102.7 kB / 239.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.002255, allocations: 25.7 kB / 239.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.002287, allocations: 88.22 kB / 239.8 MB, free: 14.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.00229, allocations: 4 kB / 239.8 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.00231, allocations: 13.67 kB / 239.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.002393, allocations: 322.9 kB / 240.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-06/0.002398, allocations: 0 / 240.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.002411, allocations: 17.72 kB / 240.1 MB, free: 13.72 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.002437, allocations: 17.7 kB / 240.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.002439, allocations: 0 / 240.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.92e-05/0.002498, allocations: 41.73 kB / 240.2 MB, free: 13.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.002509, allocations: 4 kB / 240.2 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.002514, allocations: 0 / 240.2 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.00253, allocations: 7.938 kB / 240.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.002574, allocations: 3.984 kB / 240.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.002579, allocations: 4 kB / 240.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.002587, allocations: 0 / 240.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.002592, allocations: 4 kB / 240.2 MB, free: 13.63 MB / 250.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.751e-05/0.00265, allocations: 189.1 kB / 240.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.002681, allocations: 101 kB / 240.5 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.002716, allocations: 104.2 kB / 240.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.242e-05/0.002758, allocations: 200.1 kB / 240.8 MB, free: 13.01 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-05/0.002796, allocations: 176.3 kB / 241 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.124e-05/0.002837, allocations: 180.3 kB / 241.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.00295, allocations: 317.5 kB / 241.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.002971, allocations: 101 kB / 241.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.002998, allocations: 116.8 kB / 241.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.003029, allocations: 105 kB / 241.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-05/0.003071, allocations: 184.2 kB / 241.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.003111, allocations: 180.3 kB / 242.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.025e-05/0.003152, allocations: 176.3 kB / 242.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-05/0.003194, allocations: 196.1 kB / 242.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.003491, allocations: 1.071 MB / 243.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.003536, allocations: 184.2 kB / 243.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.003578, allocations: 101 kB / 243.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.003626, allocations: 180.2 kB / 244 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.003651, allocations: 109 kB / 244.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.267e-05/0.003663, allocations: 4.859 kB / 244.1 MB, free: 9.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003663, allocations: 0 / 244.1 MB, free: 9.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000171/0.003834, allocations: 4 kB / 244.1 MB, free: 9.484 MB / 250.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.419e-05/0.003909, allocations: 147.8 kB / 244.3 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.524e-05/0.003954, allocations: 12.84 kB / 244.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.003959, allocations: 4 kB / 244.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.003963, allocations: 7.938 kB / 244.3 MB, free: 9.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.004136, allocations: 463.6 kB / 244.7 MB, free: 8.848 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001533/0.004289, allocations: 155 kB / 244.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.515e-05/0.004314, allocations: 51.36 kB / 244.9 MB, free: 8.598 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.452e-05/0.004329, allocations: 0 / 244.9 MB, free: 8.598 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.004359, allocations: 55.55 kB / 245 MB, free: 8.543 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004359, allocations: 4 kB / 245 MB, free: 8.539 MB / 250.7 MB Notification: Performance of Templates: time 0.001167/0.005526, allocations: 176.5 kB / 245.2 MB, free: 8.371 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5532899415120482]