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.0009061/0.0009061, 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.0009058/0.0009058, allocations: 177 kB / 24.16 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.9794/0.9794, allocations: 158.6 MB / 186 MB, free: 2.766 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.05053/0.05053, allocations: 10.65 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.993e-06/1.993e-06, allocations: 0 / 269.2 MB, free: 164 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.243e-05, allocations: 2.312 kB / 269.2 MB, free: 160 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001114/0.001137, allocations: 0.5011 MB / 269.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.001444, allocations: 123.5 kB / 269.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.001474, allocations: 0 / 269.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.001491, allocations: 0 / 269.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.001753, allocations: 23.86 kB / 269.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.001756, allocations: 4 kB / 269.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.104e-05/0.001787, allocations: 0 / 269.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.001827, allocations: 4 kB / 269.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.001849, allocations: 0 / 269.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.00196, allocations: 15.91 kB / 269.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.001965, allocations: 0 / 269.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-06/0.001968, allocations: 4 kB / 269.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.001977, allocations: 0 / 269.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.917e-06/0.001986, allocations: 0 / 269.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.274e-05/0.002018, allocations: 3.938 kB / 269.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.00202, allocations: 4 kB / 269.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.00202, allocations: 0 / 269.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.002024, allocations: 0 / 269.9 MB, free: 15.47 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.0001694/0.002193, allocations: 204.8 kB / 270.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.002228, allocations: 12.03 kB / 270.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.002252, allocations: 8.922 kB / 270.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.597e-05/0.002308, allocations: 101.8 kB / 270.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.002318, allocations: 4.375 kB / 270.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.002325, allocations: 384 / 270.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.036e-05/0.002396, allocations: 43.97 kB / 270.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.002402, allocations: 4.188 kB / 270.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.002408, allocations: 384 / 270.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.002412, allocations: 384 / 270.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.196e-05/0.002424, allocations: 11.88 kB / 270.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.002631, allocations: 375.4 kB / 270.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.002701, allocations: 169.1 kB / 270.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.002729, allocations: 80.14 kB / 270.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.002752, allocations: 75.28 kB / 270.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.002793, allocations: 109.8 kB / 271 MB, free: 14.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.814e-06/0.002795, allocations: 3.984 kB / 271 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.371e-05/0.002849, allocations: 37.67 kB / 271.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.0029, allocations: 130.6 kB / 271.2 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.002977, allocations: 114.6 kB / 271.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.002987, allocations: 25.7 kB / 271.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.003031, allocations: 92.09 kB / 271.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.003033, allocations: 3.938 kB / 271.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.003054, allocations: 9.719 kB / 271.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.003142, allocations: 314.8 kB / 271.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-06/0.003146, allocations: 0 / 271.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.003162, allocations: 17.83 kB / 271.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.003189, allocations: 17.78 kB / 271.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003191, allocations: 0 / 271.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.505e-05/0.003256, allocations: 33.64 kB / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.003269, allocations: 8 kB / 271.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.003274, allocations: 0 / 271.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.003285, allocations: 3.938 kB / 271.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.003332, allocations: 7.984 kB / 271.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.003336, allocations: 0 / 271.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-06/0.003345, allocations: 4.062 kB / 271.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.00335, allocations: 4 kB / 271.9 MB, free: 13.3 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.541e-05/0.003415, allocations: 189.1 kB / 272 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.00346, allocations: 108.9 kB / 272.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.003493, allocations: 108.1 kB / 272.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/0.00354, allocations: 188.1 kB / 272.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.254e-05/0.003582, allocations: 180.3 kB / 272.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-05/0.003628, allocations: 176.3 kB / 272.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.003777, allocations: 317.4 kB / 273.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/0.003815, allocations: 109 kB / 273.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.00385, allocations: 108.9 kB / 273.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.993e-05/0.00391, allocations: 180.3 kB / 273.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.003966, allocations: 176.3 kB / 273.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.984e-05/0.004026, allocations: 180.2 kB / 273.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.834e-05/0.004084, allocations: 180.3 kB / 274 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.004835, allocations: 1.086 MB / 275.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.00487, allocations: 105 kB / 275.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.004921, allocations: 180.2 kB / 275.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.004966, allocations: 105 kB / 275.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.005011, allocations: 180.2 kB / 275.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.005042, allocations: 116.9 kB / 275.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.005054, allocations: 8.859 kB / 275.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005054, allocations: 0 / 275.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.005224, allocations: 0 / 275.8 MB, free: 9.164 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.61e-05/0.00532, allocations: 147.7 kB / 275.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.195e-05/0.005372, allocations: 8.859 kB / 275.9 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.005376, allocations: 0 / 275.9 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.005378, allocations: 3.938 kB / 275.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.00557, allocations: 463.8 kB / 276.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001611/0.005731, allocations: 163.1 kB / 276.5 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.781e-05/0.005759, allocations: 51.36 kB / 276.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.047e-05/0.00577, allocations: 0 / 276.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.005799, allocations: 47.38 kB / 276.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0058, allocations: 0 / 276.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of Templates: time 0.001471/0.00727, allocations: 212.9 kB / 276.8 MB, free: 8.027 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 -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.7014213539659977]