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.0006999/0.0006999, allocations: 72.17 kB / 9.919 MB, free: 0.7695 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009443/0.001644, allocations: 443.8 kB / 10.35 MB, free: 344 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.0006725/0.0006725, allocations: 161.1 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008932/0.001566, allocations: 467.6 kB / 11.7 MB, free: 2.469 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.8783/0.8783, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1613/1.04, allocations: 49.5 MB / 220.5 MB, free: 5.277 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.03759/0.03759, allocations: 10.62 MB / 231.9 MB, free: 9.926 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006053/0.04364, allocations: 4.15 MB / 236.1 MB, free: 5.762 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.543e-06/1.543e-06, allocations: 0 / 237.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.286e-05, allocations: 6.25 kB / 237.3 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001291/0.001304, allocations: 0.5524 MB / 237.9 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.00148, allocations: 119.6 kB / 238 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.001504, allocations: 0 / 238 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.256e-06/0.001512, allocations: 3.938 kB / 238 MB, free: 3.828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.001633, allocations: 15.92 kB / 238 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.595e-06/0.001636, allocations: 0 / 238 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 3.376e-05/0.00167, allocations: 7.938 kB / 238 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.001707, allocations: 4 kB / 238 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.001734, allocations: 3.984 kB / 238 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.001831, allocations: 15.98 kB / 238 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.001837, allocations: 0 / 238 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.00184, allocations: 0 / 238 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.001848, allocations: 3.938 kB / 238 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.249e-05/0.00186, allocations: 0 / 238 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 4.199e-05/0.001902, allocations: 0 / 238 MB, free: 3.777 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.001918, allocations: 4 kB / 238 MB, free: 3.773 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001919, allocations: 0 / 238 MB, free: 3.773 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.001934, allocations: 0 / 238 MB, free: 3.773 MB / 234.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.000223/0.002157, allocations: 212.7 kB / 238.2 MB, free: 3.539 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.00219, allocations: 11.89 kB / 238.3 MB, free: 3.527 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.002218, allocations: 4.938 kB / 238.3 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.002284, allocations: 105.8 kB / 238.4 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.002295, allocations: 384 / 238.4 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.002301, allocations: 4.375 kB / 238.4 MB, free: 3.391 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.82e-05/0.00238, allocations: 43.92 kB / 238.4 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.002387, allocations: 4.188 kB / 238.4 MB, free: 3.332 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.002393, allocations: 4.359 kB / 238.4 MB, free: 3.328 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.002399, allocations: 384 / 238.4 MB, free: 3.328 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.002417, allocations: 15.92 kB / 238.4 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.002648, allocations: 367 kB / 238.8 MB, free: 2.934 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.002719, allocations: 173.1 kB / 239 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.002749, allocations: 84.14 kB / 239.1 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.002771, allocations: 75.28 kB / 239.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.002811, allocations: 105.8 kB / 239.2 MB, free: 2.48 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.002812, allocations: 0 / 239.2 MB, free: 2.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 5.681e-05/0.002869, allocations: 37.58 kB / 239.3 MB, free: 2.438 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.002921, allocations: 126.7 kB / 239.4 MB, free: 2.301 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.00299, allocations: 114.7 kB / 239.5 MB, free: 2.176 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.002999, allocations: 29.73 kB / 239.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.003041, allocations: 84.09 kB / 239.6 MB, free: 2.055 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-06/0.003048, allocations: 0 / 239.6 MB, free: 2.055 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.003073, allocations: 13.72 kB / 239.6 MB, free: 2.035 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.003166, allocations: 310.8 kB / 239.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-06/0.003172, allocations: 4 kB / 239.9 MB, free: 1.719 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.003185, allocations: 13.75 kB / 239.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.003219, allocations: 25.64 kB / 240 MB, free: 1.664 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.003222, allocations: 4.062 kB / 240 MB, free: 1.66 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.978e-05/0.003291, allocations: 33.7 kB / 240 MB, free: 1.621 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.003304, allocations: 4 kB / 240 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.00331, allocations: 4 kB / 240 MB, free: 1.613 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.003321, allocations: 3.938 kB / 240 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.003383, allocations: 4 kB / 240 MB, free: 1.605 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.003388, allocations: 7.922 kB / 240 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.003401, allocations: 0 / 240 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.003406, allocations: 0 / 240 MB, free: 1.598 MB / 234.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.812e-05/0.003474, allocations: 189.2 kB / 240.2 MB, free: 1.402 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.00352, allocations: 109 kB / 240.3 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.003562, allocations: 112.1 kB / 240.4 MB, free: 1.172 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/0.003612, allocations: 184.2 kB / 240.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-05/0.003664, allocations: 180.2 kB / 240.8 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/0.003713, allocations: 184.3 kB / 241 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.003869, allocations: 313.5 kB / 241.3 MB, free: 288 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/0.003899, allocations: 108.9 kB / 241.4 MB, free: 172 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.003929, allocations: 105 kB / 241.5 MB, free: 60 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.003976, allocations: 101 kB / 241.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.252e-05/0.004028, allocations: 184.2 kB / 241.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.004077, allocations: 184.3 kB / 241.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.822e-05/0.004126, allocations: 184.2 kB / 242.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-05/0.004174, allocations: 184.2 kB / 242.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.004524, allocations: 1.078 MB / 243.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.004584, allocations: 176.3 kB / 243.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.004648, allocations: 101 kB / 243.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.004701, allocations: 184.2 kB / 243.8 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.004731, allocations: 104.9 kB / 243.9 MB, free: 13.47 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.393e-05/0.004745, allocations: 12.84 kB / 243.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.004745, allocations: 0 / 243.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00032/0.005065, allocations: 4.094 kB / 243.9 MB, free: 13.45 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 8.661e-05/0.005151, allocations: 147.7 kB / 244.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.149e-05/0.005203, allocations: 12.8 kB / 244.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.005209, allocations: 0 / 244.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.00521, allocations: 0 / 244.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.005454, allocations: 463.6 kB / 244.6 MB, free: 12.83 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/0.005622, allocations: 155.1 kB / 244.7 MB, free: 12.65 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.005656, allocations: 51.36 kB / 244.8 MB, free: 12.58 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.005675, allocations: 8.031 kB / 244.8 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.005703, allocations: 47.38 kB / 244.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of SimCode: time 4.2e-07/0.005704, allocations: 4 kB / 244.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of Templates: time 0.001568/0.007271, allocations: 213 kB / 245 MB, free: 12.31 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.36202943790704]